Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you deal with a space in a filename in Terminal???
#1
OK.. I'm using Apple Remote Desktop to send a terminal command, run as root, to 30 computers.

Example;
chflags nouchg /Users/Shared/Application Aliases/•Games/Deimos Rising
rm -f /Users/Shared/Application Aliases/•Games/Deimos Rising

Unlock the file, and remove the file...
It seems to be choking on the spaces in the directory names...


How do I "phrase" things so it will do what I'm trying to do?

(I'd just go to each computer, but this is an experiment before running the same thing on 130 MORE computers....).


I know I"m close here...
Tips appreciated!
Reply


Messages In This Thread
How do you deal with a space in a filename in Terminal??? - by Paul F. - 04-03-2007, 03:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)