X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=find-cmd.sh;h=006531c96fc4e797be01f3717ee832c5986c60e7;hb=7ddfd60aef5e67058e1e6cb70debd3da01317825;hp=e0f812b3d1d5ac3dd973143059eb709f1207e008;hpb=3635c96878e8ebdb83b7e00b68feb032e7c52ddb;p=backups%2F.git diff --git a/find-cmd.sh b/find-cmd.sh index e0f812b..006531c 100755 --- a/find-cmd.sh +++ b/find-cmd.sh @@ -1,5 +1,7 @@ #!/bin/sh -time find /server/home \ - \( -type d -o -type f -o -type l \) \ - -printf "%y %#m %g %u %s %CDT%CT %p\0" > list +{ + for type in d f l; do + find . -type $type -printf "$type %#m %g %u %s %CY%Cm%Cd%CH%CM%CS 0 %p\0" + done +}