Home arrow Journal arrow Deleting Hidden Files in FreeBSD
Deleting Hidden Files in FreeBSD PDF
Monday, 03 November 2014
If you delete files using "rm -f *" command you will notice that files that begin with dot (.)  will not be deleted. To delete those files (but not . and ..) run:

  find /path ! -name '.' ! -name '..' -delete

Note: Previous example will delete all files and directories from /path directory and their subdirectories.

Last Updated ( Sunday, 09 November 2014 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?