Profile image for Oli Thorst acme
Sometimes I get lot of files kept on file in directory. But when I use them I like to have them all in the original directory.
Starting point cd /path/to/your/dir
This one liner moves all files with the .bin ext from dir/ to ./
Language
Text only
Tags
cmd linux mv

Move files up one level from multiple directories

1 find . -type f -name '*.bin' | while read filename; do mv ${filename} . ; done

Comments