New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Unix Command Line Question


Post Reply New Thread Subscribe

 
Thread Tools
moz

 
Member Since: Mar 01, 2005
Location: Liverpool
Posts: 30
moz is on a distinguished road
Mac Specs: G4 ibook 1.33, 512 ram, 80gig hd, bluetooth and airport

moz is offline
Hi all,

Say I have downloaded a file from the net and I want to move it from the desktop to the \keystore\cacaerts folder, instead of drag and dropping the file, is there a command I can type into the Terminal tool instead?

Cheers

Mark

Panic, chaos, disorder, my job here is done

http://www.totallybear.co.uk/

http://www.silversolutions.co.uk/
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,382
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
cd ~/Desktop
mv filename ~/keystore/cacaerts/filename

Notice the direction of the slashes...
mv = move file

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks
moz

 
Member Since: Mar 01, 2005
Location: Liverpool
Posts: 30
moz is on a distinguished road
Mac Specs: G4 ibook 1.33, 512 ram, 80gig hd, bluetooth and airport

moz is offline
Quote:
Originally Posted by cradom
cd ~/Desktop
mv filename ~/keystore/cacaerts/filename

Notice the direction of the slashes...
mv = move file
Thats great, thankyou!

Panic, chaos, disorder, my job here is done

http://www.totallybear.co.uk/

http://www.silversolutions.co.uk/
QUOTE Thanks
dimagex20

 
dimagex20's Avatar
 
Member Since: Apr 03, 2006
Posts: 202
dimagex20 is an unknown at this point
Mac Specs: iMac Intel Core Duo 17" A Little Piece Of Heaven

dimagex20 is offline
It can also be done with the automator, so if you have to move files on a daily basis than that might be easier, and less tedious.

It's all good.
QUOTE Thanks
Avalon

 
Avalon's Avatar
 
Member Since: Jun 25, 2004
Location: Luxemburg, Europe
Posts: 1,779
Avalon is just really niceAvalon is just really niceAvalon is just really niceAvalon is just really nice
Mac Specs: PowerMac G5 Dual 2GHz (June 2004), 2.5GB, Airport, black 5G iPod 30GB, white MacBook 2.0 2GB

Avalon is offline
Why not simply tell Safari (or whatever browser you use) to store downloaded files in the folder you want?

Doesn't require any terminal command, nor Automator action. :cool:

And, honestly...if you don't know what you do in Terminal (which I assume, as cd and mv are VERY basic commands any UNIX or Linux user knows by heart), drag & drop is the way to go. It's easy, intuitive and not very dangerous.
You type something wrong in Terminal, and might end up with loosing your file.
QUOTE Thanks

Post Reply New Thread Subscribe


« iMac G3 RAM | DVD burning program »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Unix VS. Linux dziner Switcher Hangout 27 12-04-2006 03:17 PM
Unix Newb with a question fearlessfreap24 OS X - Development and Darwin 2 05-13-2005 12:32 AM
Unix For Mac Os X Help Matt OS X - Operating System 5 08-24-2004 03:32 AM
Unix psychotoe OS X - Development and Darwin 6 06-16-2004 03:46 PM
Apple in Court over UNIX Name schweb Apple Rumors and Reports 8 06-13-2003 11:54 PM

All times are GMT -4. The time now is 04:00 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?