[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 20/04/11 18:05, Gordon Henderson wrote: > > Find is great, although in this instance you probably don't need -depth, > as you can't go deeper than an empty directory, so: "-depth" means do contents of a directory before the directory, which (I think) means it will remove directories that only contained empty directories. However "-depth" is implied by "-delete". As a result a similar command with "-print" and the command with "-delete" will work differently and it may delete more files than are printed by the "obvious" variant. This is all in the "find" manual page in Debian and no doubt "info find" on other distros. Simon -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq