I am new to GNU/Linux, but I'm trying to learn it and already deleted my Windows OS (yeeeaahhhhh).
Now I've already done the operation dragging the files in Nautilus, but i wanna know how to do it in terminal.
I've tried a lot of different commands and methods but I couldn't do it in terminal.
I had a partition (sda4) named Backup with a Folder named Videos inside and I wanted to move all the files(not the folder) in it to my /home/Videos Folder.
opening the terminal in Backup in Nautilus I've tried (also tried without "~") :
mv -v ~/Videos/* ~/home/wagner/Videos
mv -v ~media/wagner/Backup/Videos/* ~/home/wagner/Videos
mv -v ~/media/wagner/Backup/Videos/* ~/home/wagner/Videos
mv -v ~/media/wagner/Backup/Videos/* ~/home/wagner/Videos
mv -v ~/Videos/* ~/home/wagner/Videos
then I opened as root:
sudo -H gnome-terminal
and tried:
mv -v ~/media/wagner/Backup/Videos/* ~/home/wagner/Videos
lsblk
../
cd ../
cd /media
cd wagner
cd Backup
ls -l
mv -v ~/Videos/* ~/home/wagner/Videos
cd videos
cd Videos
ls -l
cd/
cd /
cd /media
cd wagner
cd Backup
mv -v /Videos/* /home/wagner/Videos
mv -v /Videos/*.* /home/wagner/Videos
Couldn't do it any way. So I'm posting everything I've done to you to help me find out why I couldn't do it. What I've did wrong ?
~
is actually your home directory, i.e./home/wagner
. Don't put it in front of every path. – Byte Commander♦ Oct 2 '16 at 21:50df --output=target /dev/sda4
? – heemayl Oct 2 '16 at 21:52