Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
mogspls7036y@aritzh Deleting 700,000 folders.... Here in the Philippines... With Philippine Internet Speed..
I couldn't even load public_html anymore cause it's so flooded LMFAO ;A; kill me -
aritzh7526y@mogspls can you not just SSH into the server, and basically 'rm -r *.log'? I guess if you use FTP you might be in trouble, but just sshing should handle it rather well
-
mogspls7036y@aritzh I mean, my org doesn't care whether we use SSH or FTP. It's just that my school's ITD put up this Firewall that prevents people from using SSH and FTP-
We're not even allowed to ACCESS cPanel without notifying ITD or admin LMFAO -
aritzh7526y@mogspls or you could use a VPN. I have a Raspberry Pi 3 at home, with openvpn setup. University blocks torrent, steam, or whatever other monsense? Not anymore!
They once even tried to block the default openvpn port (I think it is 4545, but cannot remeember), and I put the VPN server on port 443 (HTTPS), which made it almost impossible to block. A few weeks later they unblocked 4545. -
Evil, me likez! ๐๐๐
I feel sorry for you though..& at least you doscovered the mkdir thingy.. ๐๐๐๐๐ -
mogspls7036y@aritzh Hi! How do you delete with SSH again?
These are empty folders with '.log' at the end- it still doesn't delete for some reason- can you help me? -
aritzh7526y@mogspls if the name of the folders end with ".log" and you have SSH'd into the machine, and CD'd into the folder containing the folders to delete, you could just "rm -rf *.log". However, make sure no other file ends with .log, because that command will remove all files and directories (that are inside the current directory) whose name end with .log.
In this case, you mention they are empty. Therefore, a safer option would be to use rmdir, which only removes empty directories. So, the command would be "rmdir *.log" -
mogspls7036y
Related Rants
My coding-senpai placed this PHP code (before he left) to my org's custom-footer due to a feud that happened months ago
it flooded their cPanel with folders with '.log' as their extension everytime someone visits their website
I LOL'D UNTIL
..They hired me to clean it up :^(
They got over 700,000 of these folders
#feelsbadman
devrant
php
job
sad
rant