|
FreeBSD users - patch for cp (adds '-al'): msg#00063sysutils.backup.rsnapshot.general
I'm tired of trying to use rsync or gcp (which doesn't like symlinks) to copy trees of files/directories using hard links, so I added the gcp-ish options -a and -l. -a is 'archive' mode, which is just a quick form of -PpR. -l is 'link' mode, where regular files get hard linked instead of copied. Patch is against 6-STABLE, but works well on 7-CURRENT as well, and probably will work fine on 5.x too. Patch is here (with man page edits): http://www.googlebit.com/freebsd/patches/cp-patch cd /tmp/ fetch http://www.googlebit.com/freebsd/patches/cp-patch cd /usr/src/ patch < /tmp/cp-patch cd bin/cp make && make install Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Setup for Lin rsnap serving 4 winxp boxes: 00063, reader |
|---|---|
| Next by Date: | Re: GNU cp truly "not found" on Mac OS X?: 00063, David Cantrell |
| Previous by Thread: | Setup for Lin rsnap serving 4 winxp boxesi: 00063, reader |
| Next by Thread: | when run from cron, sometimes job does not complete, pid not removed: 00063, Steve Wegner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |