Thanks!
-Jeff
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
Your mileage may vary:
DU(1) FreeBSD General Commands Manual
NAME
du - display disk usage statistics
SYNOPSIS
du [-H | -L | -P] [-a | -s | -d depth] [-x] [file ...]
[munch]
-x Filesystem mount points are not traversed.
--
Do not respond to the above E-Mail address unless you are subscribing
for editing services disclosed in the Reply-To: line. For a personal
response, delete the spaces and dashes from: b gin...@g-t-c-s.com
jad...@ti.lmco.com wrote:
> Does anyone know of a du-like utility or has anyone modified du
> to exclude certain directories? I have a NFS fileserver which
> creates live backups in a .snapshot dir for each directory on the
> NFS server. I'd like to get du reports which exclude these .snapshot
> dirs. Does anyone know of such a utility?
>
> Thanks!
> -Jeff
>
> -------------------==== Posted via Deja News ====-----------------------
> http://www.dejanews.com/ Search, Read, Post to Usenet
It may not be what you had in mind but what about piping du through grep -v?
du / | grep -v "^\./filesystem/.snapshot"
-collin