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?
Printable View
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?
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
Are you trying to move your files to another mounted drive? Or are you wanting to move them to your home directory?Quote:
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