find . -mindepth 2 - type f -print - exec mv {} . \; # Delete empty directories find . -depth -empty - type d - exec rm -rfv {} \; |
Last Updated on December 13, 2022
find . -mindepth 2 - type f -print - exec mv {} . \; # Delete empty directories find . -depth -empty - type d - exec rm -rfv {} \; |