cjan
Posts: 719
Joined: Sun May 06, 2012 12:00 am

rsync use

Wed Dec 19, 2018 9:51 am

i did it once, but forgot how to...
want copy rootfs partition / to usb-drive.
note, from folder to disk.
btw, can not understand its man.

cjan
Posts: 719
Joined: Sun May 06, 2012 12:00 am

Re: rsync use

Wed Dec 19, 2018 11:34 am

just saw sticky post on this sub forum, sorry.

Roken
Posts: 291
Joined: Sun Dec 31, 2017 4:35 pm
Location: UK

Re: rsync use

Wed Dec 19, 2018 8:25 pm

Code: Select all

sudo rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /src/dir dest/dir
Headless PI. OMG, someone cut it's head off. Oh, hang on. it didn't have one to start with.

Return to “Advanced users”