Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I use the 'mv' command??

I want to move some scripts file into my /User/Local/Bin/

folder but i cant i get


usage: mv [-f | -i | -n] [-v] source target
       mv [-f | -i | -n] [-v] source ... directory

and i dont know what else to do because i really need to move the files.


So far this is the way im doing it



sudo mv encode-handheld-5.2.pl /User/Local/Bin/

And when I do that I get this message...



mv: rename encode-handheld-5.2.pl to /User/Local/Bin/: No such file or directory


How do I use the mv command or how am i supposed to mv those files.??


Help Please!

MacBook Pro, Mac OS X (10.6.8), 17 Inch Display, 2.2 GHz , ATI 1G

Posted on Jul 11, 2011 9:09 AM

Reply
18 replies

Jul 11, 2011 3:37 PM in response to albert969

If you are not comfortable with the terminal commands, maybe you'd prefer to do your "mv" using the Finder:


Just open a Terminal Window and enter :

open /usr/local


or if you already created a "bin" directory

open /usr/local/bin


This command will open a Finder Window, where you can add subfolders or move files to by drag and drop.


But you will have to set the protection code of /usr/local/bin (only temporary!) so that you are allowed to write to the directory. Do you know how to change permissions using the Information panel in the Finder?


And afterwards be sure to set the protection back to "read only".

How do I use the 'mv' command??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.