Hal Vaughan wrote: > On Mar 19, 2009, at 1:38 AM, Paul E Condon wrote >> On 2009-03-18_16:37:53, kj wrote: >> >> Better than the "rm" command, above, I suggest: >> >> Create a path, on the same disk to a place called 'hide', and >> mv /bar/foo /hide >> rm -rf /hide/foo & >> >> This moves the junk emails to a place where they are not visible to >> normal activities on the system. Then starts the 'rm' job in the >> background so that you can use the console for other activities while >> the job is running. You can monitor the progress of the job by >> running 'df' when you are curious about how much progress has been >> made. I suggest 'lost+found' as a good choice for 'hide'. >> > > Won't this run into a problem with the infamous "argument list too > long" response from rm that we've been talking about once it descends > into the subdirectories? > > Or is there some reason it wouldn't? >
No, because there is no argument expansion by the shell (no wildcards such as *). There in only one argument to rm, the directory. -- Not recommended for children. Eduardo M KALINOWSKI edua...@kalinowski.com.br -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org