NetBSD-Users archive
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index][
Old Index]
Re: geting some file stat
On 2008年2月20日, George Georgalis wrote:
> actually in my shell code the restore case was missing
> quotes around the filename. This whole project is to
> bootstrap an offisite (rsync) backup where there is most
> of the files already but the uid/gid/mode are incorrect,
> so if I miss setting a few files, that's okay, just need to
> make most of them fixed to save bandwidth/time.
What about just using mtree to create specification
mtree -c -k uid,gid,mode -p /path/to/ > my-mtree-spec
and on other system to fix the ownership and modes (see -u and -U).
Jeremy C. Reed
Home |
Main Index |
Thread Index |
Old Index