494 B
494 B
Copy multiple files, directories or disk using "rsync"
The command accepts arguments:
- "-r" recursive
- "-v" verbose
- "-a" archive (keeps info about files)
First use the source, then the destination
rsync -rav /home/user/Documents /run/media/user/disk/backup/
rsync
can be also used with selective copyng based on file type
rsync /home/user/Desktop/*.jpg /home/user/Desktop/backupdata/