ilmu-linux.com

Network & Linux opensource

 

Contoh rsync multiple file dan direktory

 

rsync salah satu tools yang sangat power full untuk melakukan bakup data di system Operasi linux

berikut contoh penggunaan rsync

1. exclude spesific directory

    rsync  -avz  --exclude  'dir1'  source/  destination/

 

2. exclude spesifik file

    rsync  -avz  'dir1/file.txt' source/  destination/

 

3. exclude spesifik tipe file

    rsync -avz  '*.txt'   source/   destination/

 

4. exclude multiple file dan direktori

    rsync  -avz  --exclude file1.txt   --exlude dir/file4  source/ destination/

 

 

Leave a reply

Feel free to share your thoughts about this entry.

Nickname
Email
Website
Confirmation image
Confirmation code
Comment