I have a folder with images(png, bmp, jpg) and extension-less files.
I cant figure out how to move only the extension-less files. They are all random numbered files.
shopt -s extglob
mv -- !(*.jpg|*.png|*.bmp) targetdir/
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
5 months ago