You are on page 1of 1

Copy a Directory from Local Server to a Remote Server

[root@tecmint]$ rsync -avz rpmpkgs/ root@192.168.0.101:/home/

Copy/Sync a Remote Directory to a Local Machine


[root@tecmint]# rsync -avzh root@192.168.0.100:/home/tarunika/rpmpkgs
/tmp/myrpms

Copy to multiple directory


find Downloads/ Documents/ -maxdepth 0 -type d -exec cp ostechnix.txt {} \;
find /path/to/search/ -type f -name "glob-to-find-files" | xargs cp -t
/target/path/

You might also like