This page was exported from phaq [ http://phaq.phunsites.net ] Export date:Thu Apr 25 17:42:06 2024 / +0000 GMT ___________________________________________________ Title: wipe out directory tree through rsync --------------------------------------------------- To wipe out a directory tree on a rsync server (an export) which you don't have shell access to (but proper write access of course), just use this command: # rsync -av --delete /tmp/clear.me/ rsync://some.rsync.host/some.export/ /tmp/clear.me is an example for a local but empty directory (empty as in 'mkdir /tmp/clear.me). Putting the slashes at the end of both local and remote path will allow you to sync the empty directory onto the server, effectively removing everything on the receiver side. --------------------------------------------------- Images: --------------------------------------------------- --------------------------------------------------- Post date: 2006-12-13 19:14:47 Post date GMT: 2006-12-13 18:14:47 Post modified date: 2006-12-13 19:14:47 Post modified date GMT: 2006-12-13 18:14:47 ____________________________________________________________________________________________ Export of Post and Page as text file has been powered by [ Universal Post Manager ] plugin from www.gconverters.com