EvilZone
Community => General discussion => : EMOKDOOM March 15, 2013, 09:19:20 PM
-
I downloaded a library torrent and the OP, who was the only seeder at %100, bailed on everyone at around %99.
It's %1 of 40+ gigs in data that's all .pdfs and html files; so there's quite a few things taking up space. I got the list of every thing that was never finished downloading and i want to get rid of them. It's 201 things and I’d rather not do it manually. So is there a way or a code to slap into terminal to remove all of them?
The list has all the name paths of the files so that should help.
-
ofcourse, put your list of files in a text file, make a quick python script to read one by one and remove the files.
Would be like 10 lines with python... (ok maybe more but you get the point :D)
-
Yeah i figured. Thing is i never learned how to import files or execute commands outside of the IDLE; still learning.
Thanks though, I’m looking at them manually. A lot of them are in the same folder and some of them are not too useful so I’m just deleting the folder.
-
Yeah i figured. Thing is i never learned how to import files or execute commands outside of the IDLE; still learning.
Thanks though, I’m looking at them manually. A lot of them are in the same folder and some of them are not too useful so I’m just deleting the folder.
Is this Linux or Windows? Linux just take your list and rm -rf $(<list) and you're done.
-
Is this Linux or Windows? Linux just take your list and rm -rf $(<list) and you're done.
Thats kinda unsafe.
I would suggest going inside the directory and use: rm *.pdf
That way you dont risk doing a lot of damage.
rm -rf should never be suggested to unexperienced users imo.