diff options
Diffstat (limited to 'scripts/.local/bin/flatdir-try')
| -rwxr-xr-x | scripts/.local/bin/flatdir-try | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/.local/bin/flatdir-try b/scripts/.local/bin/flatdir-try new file mode 100755 index 0000000..06cdbd7 --- /dev/null +++ b/scripts/.local/bin/flatdir-try @@ -0,0 +1,2 @@ +#!/bin/sh +find */ -type f -exec bash -c 'file=${1#./}; echo mv "$file" "${file//\//_}"' _ '{}' \; |
