dotfiles/.local/bin/scripts/denest
2022-01-05 17:53:06 +01:00

3 lines
113 B
Bash
Executable file

#!/bin/sh
# Remove one level of folders
find -mindepth 1 -maxdepth 1 -exec sh -c 'mv -nv {}/* . && rm -dv {}' \;