mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit f177d88ca4ee315a00ae282da078f14effb06f93
parent 803607c5e9ac869ff4fe65a10f06ad5a52fd7a68
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 25 Nov 2018 23:53:36 +0100

another bug

Diffstat:
hierarchive | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hierarchive b/hierarchive @@ -16,7 +16,7 @@ F="$2/$D" #mkdir "$F" cd "$1" # find all old files and move them away -find -type f -mtime +$NDAYS -print0 | xargs -r -0 -n 1 ./hierarchive_file "$F" +find -type f -mtime +$NDAYS -print0 | xargs -r -0 -n 1 "$DIR/hierarchive_file" "$F" # now, recursively remove all empty directories find . -type d | xargs rmdir -p 2>/dev/null