06-01-2009, 09:08 PM
If the other drive is called Marvin, the command would be:
rm -f /Volumes/Marvin/ProTools\ Free/time\ code/Image_01.mpg
rm -f /Volumes/Marvin/ProTools\ Free/time\ code/Image_01.mpg
using "rm" in Terminal
|
06-01-2009, 09:08 PM
If the other drive is called Marvin, the command would be:
rm -f /Volumes/Marvin/ProTools\ Free/time\ code/Image_01.mpg
06-01-2009, 09:12 PM
Another tip: use tab completion:
"rm -f /Vol[tab]/Marv[tab]/..."
06-01-2009, 09:40 PM
'preciating the help, but .........
Bugs:~ fritz$ rm -f /Volumes/Marvin/Zevon/ProTools\ Free/time\ code/Image_01.mpg -bash: rm -f: command not found Bugs:~ fritz$ rm -f "/Volumes/Marvin/Zevon/ProTools Free/time code/Image_01.mpg" -bash: rm -f: command not found Bugs:~ fritz$ rm -f /Volumes/Marvin/Zevon/ProTools\Free/time\code/Image_01.mpg -bash: rm -f: command not found Bugs:~ fritz$ I'd left out a Zevon in an earlier post Even after removing the spaces in the folder names...... Bugs:~ fritz$ rm -i /Volumes/Marvin/Zevon/ProToolsFree/timecode -bash: rm -i: command not found
“Art is how we decorate space.
Music is how we decorate time.” Jean-Michel Basquiat
06-01-2009, 09:45 PM
Is this a personal (non-work) computer?
It's clearly telling you that you do not have a binary for "rm" anywhere in your path. Can you try "/bin/rm" (by itself with no arguments)?
06-01-2009, 09:50 PM
yes, my Mac at home office
Bugs:~ fritz$ /bin/rm usage: rm [-f | -i] [-dPRrvW] file ... unlink file The cats must be hungry and mentally preventing this. I'm taking their foil hats off! OBTW. This is a real old file from like, ProTools 6, (prolly OS 9 or earlier) if that matters. It doesn't open with anyhting I've tried. All it does is stall whatver app I thow at it. I dunno why I saved it, but it's taking up a G. 'Course, in this day, I may surrender the G.
“Art is how we decorate space.
Music is how we decorate time.” Jean-Michel Basquiat
06-01-2009, 10:09 PM
Try cd /Path/to/file
then ls -l to make sure it's there. Then try sudo /bin/rm -f filename.mpg
06-01-2009, 10:51 PM
Bugs:~ fritz$ cd /Volumes/Marvin/Zevon/ProToolsFree/timecode/Image_01.mpg
-bash: cd: /Volumes/Marvin/Zevon/ProToolsFree/timecode/Image_01.mpg: Not a directory argh!!!!! If I just do this cd /Volumes/Marvin/Zevon/ProToolsFree/timecode all the files in that folder show up including the one I want to dump. but the "sudo" doesn't work from there.
“Art is how we decorate space.
Music is how we decorate time.” Jean-Michel Basquiat
06-01-2009, 11:08 PM
Your path env var is either empty or wrong.
try: echo $PATH or printenv I get PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin sudo is at /usr/bin/sudo on my Leopard.
06-01-2009, 11:13 PM
/usr/bin/rm -f/Volumes/Marvin/Zevon/ProTools Free/timecode/Image_01.mpg Should work if you are the owner of the file "Image_01.mpg."
06-01-2009, 11:45 PM
echo $PATH
same as you. printenv I get a bunch of line including : PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin /usr/bin/rm -f "/Volumes/Marvin/Zevon/ProToolsFree/timecode/Image_01.mpg" hmmmmmmmm, permission denied.
“Art is how we decorate space.
Music is how we decorate time.” Jean-Michel Basquiat |
« Next Oldest | Next Newest »
|