Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Unification of Directories (their contents)

by atcroft (Abbot)
on Apr 26, 2009 at 09:57 UTC ( #760119=note: print w/replies, xml ) Need Help??


in reply to Unification of Directories (their contents)

My thoughts upon reading this (which I hope would prove helpful) were :

  1. Use File::Find to generate a list of files (also potentially at this point exiting or asking for processing options for duplicate file names)
  2. Use the -d dirname test, mkdir() and File::Spec to create subdirectories that may be needed
  3. Use File::Copy's copy() function for the final movement

At least, that's the process I would likely procede with (assuming a better solution were not proposed).

HTH.

  • Comment on Re: Unification of Directories (their contents)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://760119]
help
Chatterbox?
[marto]: Corion if your device has an official Oreo ROM I'd do a nandroid backup and give it a shot
[marto]: I've been impressed with the Star Citizen thing, I'll likely never play it, but they've achieved something really special I think, in terms of what has been shown so far.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-12-14 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (389 votes). Check out past polls.

    Notices?