Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using "rm" in Terminal
#11
If the other drive is called Marvin, the command would be:

rm -f /Volumes/Marvin/ProTools\ Free/time\ code/Image_01.mpg
Reply
#12
Another tip: use tab completion:
"rm -f /Vol[tab]/Marv[tab]/..."
Reply
#13
'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
Reply
#14
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)?
Reply
#15
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
Reply
#16
Try cd /Path/to/file

then ls -l to make sure it's there.

Then try sudo /bin/rm -f filename.mpg
Reply
#17
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
Reply
#18
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.
Reply
#19
/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."
Reply
#20
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)