On Mon, 2008-12-01 at 23:11 -0500, David wrote: > > > >The problem is the space character in the file name. Try: > > > >system "(df -mg;) >\"$fileLoc\" &"; > > > Shawn , that adjustment didn't work for me. > > sh: -c: line 1: syntax error near unexpected token > `">/Users/mini/diskSpaceLog/081201 diskSpace.txt"' > sh: -c: line 1: `(df -mg;) ">/Users/mini/diskSpaceLog/081201 diskSpace.txt" &'
The error you're reporting does not correspond with the code I gave. The first \" goes after the > -- Just my 0.00000002 million dollars worth, Shawn The key to success is being too stupid to realize you can fail. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
