in reply to Re: File::Find problems
in thread File::Find problems
Yes, I've decided I have NO IDEA how to deal with path names containing spaces. I also think the error given by rename() sucks: it doesn't tell you which path is faulty.
I've performed "thousands" of tests, trying to figure out what is happening with my script to no avail. All I am trying to do is move some files from an external usb drive to a directory on my computer that I enter on the command line when prompted.
I can't make heads or tails out of what's happening. When I print out $File::Find::name, I get this:
That seems like a faulty path to me because the space in "Volume Name" is not escaped./Volumes/Volume Name/A/B/filename
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File::Find problems
by ikegami (Patriarch) on Jan 15, 2010 at 08:10 UTC | |
|
Re^3: File::Find problems
by ikegami (Patriarch) on Jan 15, 2010 at 08:13 UTC | |
by 7stud (Deacon) on Jan 15, 2010 at 08:23 UTC | |
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 ikegami (Patriarch) on Jan 15, 2010 at 08:45 UTC | |
|