Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Flattening a directory tree in a filesystem

by NetWallah (Canon)
on Jan 28, 2014 at 06:17 UTC ( [id://1072320]=note: print w/replies, xml ) Need Help??


in reply to Flattening a directory tree in a filesystem

Depending on the volatility of your file system (files being added/deleted/moved) - you may need to prevent changes while you are scanning and moving files.

I'd suggest taking ownership of everything , and/or making it all read-only prior to reading -possibly even dismounting the file system (after killing processes that have files open on it), and re-mounting it such that only you have modify access).

        If your eyes hurt after you drink coffee, you have to take the spoon out of the cup.
              -Norm Crosby

  • Comment on Re: Flattening a directory tree in a filesystem

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1072320]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found