[Swift-devel] Re: 100 molecule
Yong Zhao
yongzh at cs.uchicago.edu
Tue Jun 19 15:40:54 CDT 2007
Ioan,
This sounds very good. I'm forwarding this to the swift list.
Yong.
On Tue, 19 Jun 2007, Ioan Raicu wrote:
> Yes, rm -rf could take that long... Yong, why don't you try a these two
> commands, instead of "rm -rf".... I bet it will be much faster on the
> GPFS at ANL!
>
> find ./ -exec rm {} \;
> find ./ -exec rm -r {} \;
>
> The first one removes the files, and the second one removes the
> directories... I found rm -rf to be very slow on the ANL GPFS.... it has
> to do with the fact that rm -rf does an expansion of all the files it
> needs to deletes... and it ends up being very very long if you hav many
> files to delete.... doing the method above, it does 1 delete at a
> time... so it doesn't suffer from the long list of files as rm -rf....
>
> Ioan
>
> Veronika Nefedova wrote:
> > I am wondering how the cleanup is done? Its hard to believe that "rm
> > -rf" would work that long. At the end of the successful run its just
> > one directory with one nested subdir had to be removed.
> >
> > NIka
> >
More information about the Swift-devel
mailing list