Just a few days ago I posted about a script that automatically removes reggeatón from USB devices, a whole controversy has been generated in this regard, specifically on the moral aspect of whether or not it is correct to eliminate a certain type of 'musical' genre from USB devices.
Although the post of the previous script was not to the liking of several, for the matter of whether it is ethical or not to eliminate (discriminate) music for being reggeaton, personally I think that this issue took over the post and it was forgotten a bit (almost completely LOL!) The script and its lines of code as such.
I already said it in the previous post:
By the way, the script as such It's not that I only erase reggeatón, the script will clear whatever the filter matchesIf you want me to delete all the .exe or everything related to (for example) crack or messi, it is a matter of putting it in the filter, it's that simple.
Not even the water 😀
To have a script on our computer that automatically deletes the files autorun.inf (for example), which are almost in all cases malicious files that will run viruses in Windows when connecting the USB would be:
1. Have the script:
2. Give you execute permissions, well doing right-click on it + Permissions tab + marking the option that indicates that it is an executable, or using the terminal with:
chmod +x *.sh
3. Create a file called filter.lst located in the same folder where the previous script is, the content of filter.lst should be:
4. Ready. Nothing more to add ... the script should be added to the startup applications either by adding it to /etc/rc.local or using the options of your desktop environment.
This is using exactly the same antireggeaton.sh script from the previous post, the one that generated so much controversy 😀
As you can see, the script by itself is not harmful, the script It will only delete what you indicate in filter.lst, they can tell you to delete reggeatón, autorun.inf, .exe files, erotic content folders, etc, whatever they please pla
Anyway there is not much more to add 😉