in reply to Re^3: File::Find problems
in thread File::Find problems
First of all, I shouldn't even have to worry about the full path when using File::Find, right? The docs say, that File::Find uses chdir() to switch to the directory of the file. So, shouldn't I be able to use $_ inside wanted() as the oldname argument for rename()?
That would leave me with a single path to worry about. In that case what do I need to enter on the command line to move the file to the directory:
/Users/me/Pictures/a b c d
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: File::Find problems
by ikegami (Patriarch) on Jan 15, 2010 at 08:28 UTC | |
by 7stud (Deacon) on Jan 15, 2010 at 08:33 UTC | |
by ikegami (Patriarch) on Jan 15, 2010 at 08:41 UTC | |
by 7stud (Deacon) on Jan 15, 2010 at 08:48 UTC | |
by ikegami (Patriarch) on Jan 15, 2010 at 08:52 UTC | |
| |
by ikegami (Patriarch) on Jan 15, 2010 at 08:45 UTC | |
by 7stud (Deacon) on Jan 15, 2010 at 08:56 UTC |