Move every file that ends with 3 letter extension, but the last letter is either "g" of "f"? – unix.stackexchange.com

mv public_html/*.??[g,f] public_html/images/ Could that work? So that all photos/images that have the extensions .jpg, .png, and .gif will be moved. (I don't have Linux installed and I used an ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Move every file that ends with 3 letter extension, but the last letter is either "g" of "f"? – unix.stackexchange.com"