Please support the nixCraft with a PayPal donation or Patreon. Keeping the site online is challenging, with everyone blocking Ads □. nixCraft is a one-person show, and many of you use Adblocker. □ Was this helpful? Please add a comment to show your appreciation or feedback. Join the nixCraft community via RSS Feed or Email Newsletter. He wrote more than 7k+ posts and helped numerous readers to master IT topics. sudo cp /home/USER1/FNAME /home/USER2/FNAME & sudo chown USER2:USER2. Vivek Gite is the founder of nixCraft, the oldest running blog about Linux and open source. Assuming that you have sudo privileges the following command will do. You can provide a list of individual file names or use wildcard characters: mget backup1.zip backup2.zip When downloading multiple files you will be prompted for confirmation for each file. Please see the following man pages using the man command: To download multiple files at once, use the mget command. You learned how to use scp or rsync to securely transfer files between two Linux or Unix systems. See the rsync command documentation for more info. Select SSH for Service Type, write the name or IP address of the computer youre connecting to in Server. -delete : Ask rsync to delete extraneous files from the receiving side (ones that aren’t on the sending side), but only for the directories that are being synchronized. ![]() -v : Verbose mode (show file names when copying they are copied) First, split your file into pieces of 2GB : split -bytes2000000000 yourfile.tgz For each piece, compute an MD5 hash (this is to check integrity) and store it somewhere, then start to copy the pieces and their md5 to the remote site with the tool of your choice (me : netcat-tar-pipe in a screen session).-a : archive mode (copies all sub-dirs and files recursively and preserves as many file attributes as possible).The rsync command options are as follows:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |