Date: Wed, 11 Apr 2007 18:00:20 +0200 From: deeptech71@gmail.com To: freebsd-questions@freebsd.org Subject: rm --clear-directory /home/me/another_dir Message-ID: <461D0614.2060709@gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461D0614.2060709>