Results 1 to 5 of 5
  1. #1


    Member Since
    Mar 01, 2005
    Location
    Liverpool
    Posts
    30
    Specs:
    G4 ibook 1.33, 512 ram, 80gig hd, bluetooth and airport
    Question Unix Command Line Question
    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/

  2. #2

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Groves, Texas
    Posts
    4,560
    Specs:
    21in. iMac 10.11 --- HP Linux Mint 18
    cd ~/Desktop
    mv filename ~/keystore/cacaerts/filename

    Notice the direction of the slashes...
    mv = move file
    Delusions are often functional. A motherís opinions about her childrenís beauty, intelligence, goodness, et cetera ad nauseam, keep her from drowning them at birth.
    -Lazarus Long

  3. #3


    Member Since
    Mar 01, 2005
    Location
    Liverpool
    Posts
    30
    Specs:
    G4 ibook 1.33, 512 ram, 80gig hd, bluetooth and airport
    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/

  4. #4

    dimagex20's Avatar
    Member Since
    Apr 03, 2006
    Posts
    202
    Specs:
    iMac Intel Core Duo 17" A Little Piece Of Heaven
    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.

  5. #5

    Avalon's Avatar
    Member Since
    Jun 25, 2004
    Location
    Luxemburg, Europe
    Posts
    1,779
    Specs:
    PowerMac G5 Dual 2GHz (June 2004), 2.5GB, Airport, black 5G iPod 30GB, white MacBook 2.0 2GB
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compare OS X command line to Linux command line?
    By V6Pony in forum OS X - Development and Darwin
    Replies: 5
    Last Post: 09-26-2013, 12:32 PM
  2. Command Line Diskutil question
    By Vpr99 in forum OS X - Operating System
    Replies: 2
    Last Post: 08-08-2011, 04:34 PM
  3. MacBook Pro 6,1 - HD failure/command line question
    By Patrick Bateman in forum Apple Notebooks
    Replies: 2
    Last Post: 04-05-2011, 03:56 PM
  4. 'screen' command in unix
    By wiz561 in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 03-19-2009, 05:24 PM
  5. Unix Command Line books
    By shahvikram123 in forum OS X - Operating System
    Replies: 9
    Last Post: 12-21-2007, 12:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •