Re: [foxboro] How to remove big collection of files

Try running it in the background: 
rm -r <directory> &

The '&' puts it in the background. There are other
ways but this should do it well enough.  

As always, be very carefull with rm. There is no
standard 'unrm'.

chris.

--- "Mazrouie, Ahmed H" <MAZROUAH@xxxxxxxxxxxxxxxxxx>
wrote:
>  
>  
> Hi All,
> I am trying to remove a directory of size 19997184,
> when I do so, the
> "rm" commands uses almost 80% of the CPU time which
> makes the system
> very very slow which affect the whole network. This
> directory hosts
> files from a program called alm2unix which collects
> data and passes it
> to a remote site.
>  
> Is there any command or way to delete all those
> files accumulated in the
> directory without affecting the system performance?
>  
> Your help is always appreciated.
>  
>  
> Best Regards,
> Ahmed H. Al-Mazrouie
> Control System Engineer
> Shaybah Producing Engineering Division
> Saudi Aramco
> Saudi Arabia
> Ph:966-3-577-9499, Fax: 966-3-577-3653
> mailto: <mazrouah@xxxxxxxxxxxxxxxxxx>
>  
>  
>  
> 
>  
>  
>
___________________________________________________________________
> This list is neither sponsored nor endorsed by The
> Foxboro Company.
> Use the information obtained here at your own risk.
> For disclaimer,
> see
>
http://www.thecassandraproject.org/disclaimer.html#maillist
> 
> list info:   http://www.freelists.org/list/foxboro
> subscribe:  
> mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
> unsubscribe:
> mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
 
 
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   http://www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave

Other related posts: