How to quickly organize a folder

You should search for the best way to organize the Download folder, after a long time of use.

So, you have like me a lot of saved memes in the Download folder and you want to move all of them to memes folder, you should run this command:

find -iname *.jpg - exec mv {} ../memes \;

That’s it. If you want to delete them, juste replace mv with rm.

Don’t use -rf flags for security.

You Might Also Like

Leave a Reply