Smipple is shutting down Nov 30, 2017. Some features are currently disabled.
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 ./
Text only
cmd linux mv

Move files up one level from multiple directories

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