Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Move files (unsafely) with a file extension that matches the argument into a directory named for that extension.
for file in ./recup_dir*/*.$1
mv ${file} $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.