Move files from Folder 2 Levels Deep
Use this command to move files from folders two level deep to the current folder…
mv */*.* .
Use this command to move files from folders two level deep to the current folder…
mv */*.* .
Download files from a host windows via smb
smbget -Rr smb://ip_addr/share
Copy a file to a remote system using FTP with the Curl command…
curl -T filename.txt -u username:password ftp://example.cot/filename.txt
Copy files/folder from a remote server to this system.
scp -r binnyva@192.168.0.100:/home/binnyva/folder_to_copy .
Copy files/folder to a remote server.
scp <file> binnyva@192.168.0.100:/home/binnyva/
scp -r <folder> binnyva@192.168.0.100:/home/binnyva/
Find and copy all files with ‘.txt’ extention from a directory to another
find /home/binnyva -name '*.txt' | xargs cp -av --target-directory=/home/backup/ --parents
Copying a directory
cp -a dir1 dir2
Moving, Coping and Deletion
svn mv file.php to_folder/ #Move
svn cp file.php to_folder/ #Copy
svn rm file.php #Deletion