[PLUG] Backup mistake - Resolved

Richard Steffens rsteff at attbi.com
Sat Nov 16 04:34:18 UTC 2002


Richard Steffens wrote:
> 
> I started a backup of my /var/www/html by copying it to another drive.
> Unfortunately, I failed to account for a link that points back to the
> root of the destination drive, so I've filled up a 40Gb drive with what
> should have been less than a gig! 
<snip>
> So, now that I have all this, should I go to the first place down the
> tree that the recursive copies begin and delete that by running:
> 
> cd /home/mp3/NECbackup/021115-var-www-html-backup/MusicDB
> rm -R mp3

No. That doesn't work. However, rm -rf mp3 does the job. I found the
answer on page 338 of the Sybex book, Mastering Red Hat Linux 7.1, by
Arman Danesh, under the heading, "Deleting Whole Directories."

-- 
Regards,

Dick Steffens
http://rsteff.home.attbi.com/




More information about the PLUG mailing list