Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    moving files using the CLI

    I want to move all the files from my USB-drive to my hard drive. The subdirectories should be copied also containing all the data

    I tried:
    mv /mnt/usb/data/guido/* -T -v /mnt/guido

    What is going wrong?

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Check the man pages for mv command, you can figure this out, you're almost there.
    man mv
    Pay special attention to the -r option.
    Last edited by MikeTbob; 07-16-2011 at 08:36 PM. Reason: Typos
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    mv mv /mnt/usb/data/guido/* -T -v /mnt/guido -T -v /mnt/guido
    Are you trying to move your files to another mounted drive? Or are you wanting to move them to your home directory?

    If the latter, you should try
    mv /mnt/usb/data/guido/* /your/target/directory
    Of course replacing /your/target/directory with the actual name.

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. $spacer_open

Posting Permissions

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