summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill <bill@billserver.senders.io>2022-03-19 14:09:23 -0400
committerBill <bill@billserver.senders.io>2022-03-19 14:09:23 -0400
commitbeb08521b1cb06aa2c282a6752c7b588326fa025 (patch)
treee0f5a653ace4bd7f6f212b17691b618ce4e20e80 /test
parentc371488a184ce659bf28171a3fdde37f3ec390bf (diff)
Improve logging and change default .d dir
Rather than looking at the environment varible otherwise use the local automv.d directory - set it to something more centralized in the environement e.g /usr/local/etc/automv.d/ Also the logs were unclear what was happening so extracted the find query into a function to be able to run/rerun it a few times to improve the existing logging. I wonder if there is a better way to print what is happening in the xargs w/o repeating the move a bunch: fn_mv { echo "Moving: $1 to $2" mv $1 $2 } and call: find ... | xargs -I'{}' fn_mv {} $target Perhaps?
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions