Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    *@@du*'s Avatar
    Junior Member

    Status
    Offline
    Join Date
    Dec 2009
    Posts
    8
    Downloads
    0
    Uploads
    0

    a perl script that displays the list of those files in the current directory that

    have multiple links only? In UNIX..we can have a file with multiple links..and with 'ls -l' command ,we can find howmany such files do we have..

  2. #2
    martinthurn's Avatar
    Senior Member

    Status
    Offline
    Join Date
    May 2009
    Posts
    183
    Downloads
    0
    Uploads
    0
    if (1 < (stat($filename))[3])
    {
    # File $filename has more than one hard link to it
    }

 

 

Quick Reply Quick Reply

Click here to log in


What color is our footer?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-06-2010, 12:32 AM
  2. Replies: 1
    Last Post: 12-12-2009, 08:35 AM
  3. Replies: 2
    Last Post: 12-04-2009, 10:15 PM
  4. Replies: 0
    Last Post: 12-02-2009, 06:15 PM
  5. PHP Script to list files in directory?
    By kyle in forum Discuss PHP
    Replies: 0
    Last Post: 01-26-2009, 05:15 PM

Bookmarks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •