Re: Problem with spaces in paths

2008-02-21 Thread jshock
Thanks John and Gunnar. It's working now. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Problem with spaces in paths

2008-02-20 Thread Gunnar Hjalmarsson
jshock wrote: @source = qw( "/Users/joe/Documents/Palm/" "/Users/joe/Library/Application\ Support/AddressBook" "/Users/joe/Library/Application\ Support/iCal" "/Users/joe/Library/Mail" ); That code does probably not do what you want. Besides the space problem, t

Re: Problem with spaces in paths

2008-02-20 Thread John W. Krahn
jshock wrote: I have written a simple script that uses rsync to backup directories to a USB drive. The directories are selected from an array. The problem I am having is that if the directory has a space in it, the script breaks. I have tried putting backslashed in front of the spaces, and encas

Problem with spaces in paths

2008-02-20 Thread jshock
I have written a simple script that uses rsync to backup directories to a USB drive. The directories are selected from an array. The problem I am having is that if the directory has a space in it, the script breaks. I have tried putting backslashed in front of the spaces, and encasing the entire p