wzhouwzhou / one-line-wonders

OneLineWondersCode | 1000+ Commits | 279/300 One Liners | 200+ Forks | Actively maintained open-source collection of "one-line" programs performing various tasks in different languages
https://hacktoberfest2018.suya.moe
GNU General Public License v3.0
96 stars 192 forks source link

Script that finds and replaces jpg files #472

Open sausagenoods opened 2 years ago

sausagenoods commented 2 years ago

Please describe your program and how to run it.

It finds all the jpg files it's able to read and replaces them with random jpg files from the specified directory while preserving the original file names. This oneliner is destructive so run it with caution. It can be used to prank someone.


What Programming Language?

Shell script (Bash)