From 2a5a0324f787eacc6779a53c790c9f2a5d2d18da Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 24 Oct 2021 01:07:42 -0700 Subject: refactor --- home/xyz/.local/bin/orgext | 2 -- 1 file changed, 2 deletions(-) (limited to 'home/xyz') diff --git a/home/xyz/.local/bin/orgext b/home/xyz/.local/bin/orgext index bc0a18c5..4f8153b2 100755 --- a/home/xyz/.local/bin/orgext +++ b/home/xyz/.local/bin/orgext @@ -1,7 +1,5 @@ #!/bin/sh -# not sure if find here need -depth, not sure if mv here need -n and -T - outdir () { find . -type f -execdir mvt "$PWD" '{}' \+ find . -mindepth 1 -maxdepth 1 -type d -execdir rmdir -- '{}' \+ -- cgit v1.2.3-70-g09d2