Re: rm --clear-directory /home/me/another_dir

2007-04-11 Thread Bill Moran
In response to [EMAIL PROTECTED]: > Pieter de Goeje wrote: > > On Wednesday 11 April 2007, [EMAIL PROTECTED] wrote: > >> Is there a way to clear a directory with such a command (keeping the owner > >> and permissions of the folder)? > >> > >> Yes there are the obvious ones: > >> cd /home/me/anothe

Re: rm --clear-directory /home/me/another_dir

2007-04-11 Thread deeptech71
Pieter de Goeje wrote: On Wednesday 11 April 2007, [EMAIL PROTECTED] wrote: Is there a way to clear a directory with such a command (keeping the owner and permissions of the folder)? Yes there are the obvious ones: cd /home/me/another_dir && rm * rm /home/me/another_dir/* // if cant traverse he

Re: rm --clear-directory /home/me/another_dir

2007-04-11 Thread Pieter de Goeje
On Wednesday 11 April 2007, [EMAIL PROTECTED] wrote: > Is there a way to clear a directory with such a command (keeping the owner > and permissions of the folder)? > > Yes there are the obvious ones: > cd /home/me/another_dir && rm * > rm /home/me/another_dir/* // if cant traverse here > > But some

rm --clear-directory /home/me/another_dir

2007-04-11 Thread deeptech71
Is there a way to clear a directory with such a command (keeping the owner and permissions of the folder)? Yes there are the obvious ones: cd /home/me/another_dir && rm * rm /home/me/another_dir/* // if cant traverse here But something that doesn't rely on the shell. ___