Its quite possible that you face issues and getting the following error message while removing the files in bulk using the “rm” command:
Error :
====
root@server [/tmp]# rm -rf *
-bash: /bin/rm: Argument list too long
====
Then you can use the following “find | rm” command combination as given below in order get done this task :
find . -name ‘<pattern>’ | xargs rm
<patern> = Any matching file pattern that you want remove/delete.
Thats it.
What Is Instagram Marketing? Instagram Marketing includes using the platform to advertise your business or personal brand to increase visibility,…
Ah, the joys of building a website! Picture this: You're sitting there in your pajamas, coffee in hand, ready to…
Are you feeling like your website is running in slow motion? It can be frustrating when your online presence doesn't…
Are you ready to take your online store to the next level? Whether you're running a PrestaShop or OpenCart platform,…
Picture this: your website is like a fabulous party happening in the darkest corner of the internet, but nobody's showing…