Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2018 20:16:06 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        "John R. Levine" <johnl@iecc.com>
Cc:        "Paul Schmehl" <paul.schmehl@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Problem deleting files
Message-ID:  <23353.28358.988726.284851@jerusalem.litteratus.org>
In-Reply-To: <alpine.OSX.2.21.1807011723400.48566@ary.local>
References:  <20180701202153.A94AA28BD3C2@ary.local> <010DDED160955AC68C7EFA46@Pauls-MacBook-Pro.local> <alpine.OSX.2.21.1807011556150.48232@ary.local> <E90E9AD551526FDA45C57E3A@Pauls-MacBook-Pro.local> <alpine.OSX.2.21.1807011723400.48566@ary.local>

next in thread | previous in thread | raw e-mail | index | archive | help

John R. Levine writes:

>  > # rm -fr .
>  > rm: "." and ".." may not be removed
>  
>  Oh, ok, then go one level up.  If your directory is callled abc
>  
>  $ rm -rf abc
>  
>  the -r recursor uses a library that can handle arbitrarily large sets of 
>  files.

	Warning: it has been my (painful) experience that  - depending on
how you have things set up - deleting the current working directory
can have unintended consequances.


			Respectfully,


				Robert Huff


			



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23353.28358.988726.284851>