Results 1 to 3 of 3
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 ...
- 07-16-2011 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
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?
- 07-16-2011 #2
Check the man pages for mv command, you can figure this out, you're almost there.
Pay special attention to the -r option.Code:man mv
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.
- 07-16-2011 #3Are you trying to move your files to another mounted drive? Or are you wanting to move them to your home directory?mv mv /mnt/usb/data/guido/* -T -v /mnt/guido -T -v /mnt/guido
If the latter, you should try
Of course replacing /your/target/directory with the actual name.Code:mv /mnt/usb/data/guido/* /your/target/directory
Jay
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.


Reply With Quote