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=14180f8a5ef12ee6e5f8857cf0e40846380fb572;hpb=8182442be7a7baca39cf2d0acae84407e8768ae4;p=backups%2F.git diff --git a/find-cmd.sh b/find-cmd.sh index 14180f8..006531c 100755 --- a/find-cmd.sh +++ b/find-cmd.sh @@ -1,5 +1,7 @@ #!/bin/sh -time find . \ - \( -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 +}