cool use for find command
January 26, 2005 10:24 pmLink: /root file system full.
FreeBSDTo search the root partition for files matching certain conditions, use the find(1) command. The ‘-xdev’ option lets you limit the search to just the one partition.
Eg. to find all files modified in the last week:
# find /usr -xdev -mtime -7 -printOr to find all files over 1Mb in size and produce a long-format listing:
# find /usr -xdev -size 1048576c -ls
Related posts:


