Do you know an app that deletes files/folder on a list?

Any topic that does not fit into the other categories.
Post Reply
Message
Author
starstuff
Posts: 64
Joined: Sat Mar 09, 2013 7:06 pm

Do you know an app that deletes files/folder on a list?

#1 Post by starstuff » Thu Aug 09, 2018 5:57 pm

Hi,

I have a list of files and folders on a text file and would like to delete some files/folders. I like to delete them without going into each folder and press delete. I was thinking of a program that you put a list of files/folders to delete and it will delete them.

Does anybody know of an app that do this? it will be a bonus if it can delete files on the network like \\Network-PC\files\delete.me

Thank you!

User avatar
lintalist
Posts: 212
Joined: Sat Apr 19, 2014 12:52 am
Contact:

Re: Do you know an app that deletes files/folder on a list?

#2 Post by lintalist » Fri Aug 10, 2018 10:38 am

What about a simple batch file?
Just insert DEL in front of each file path to delete it, if you can/wish to delete an entire folder and sub-folders you can use RD

More info Also depending on your file manager you may be able to "load" a list of files into a file panel and then delete them.

Note - this solution might work for you as well, a batch file that reads your list of files and deletes them https://superuser.com/questions/615421/ ... -file-list

Edit: for AutoHotkey users a basic file parsing Loop and the FileDelete command will do the same as the above batch file solution.

User avatar
webfork
Posts: 7921
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Do you know an app that deletes files/folder on a list?

#3 Post by webfork » Mon Aug 13, 2018 9:56 am

starstuff wrote:
Thu Aug 09, 2018 5:57 pm
Does anybody know of an app that do this? it will be a bonus if it can delete files on the network like \\Network-PC\files\delete.me
I personally would go with lintalist's idea, but I also wanted to point out how BleachBit has a "custom folders" item under Edit - Preferences - Custom tab

Image

The nice part about using BleachBit is that you can securely wipe those folders rather than just deleting them.

On a related note, the program includes support for "Winapp2.ini" functionality, which is a community project that enables custom file and folder delete settings. Some of those files and folders might also include some of what you're looking to zap.
Supporting Net Neutrality - BattleForTheNet | Why this matters | More from EFF.org

starstuff
Posts: 64
Joined: Sat Mar 09, 2013 7:06 pm

Re: Do you know an app that deletes files/folder on a list?

#4 Post by starstuff » Thu Aug 16, 2018 10:42 pm

@lintalist

Thank you for your tip, I'm more comfortable using a gui than the command line, the batch file is my last option.

@webfork

Thank you for showing bleachbit, I used that before did not know it could do that, I will download it again.

User avatar
Ding-A-Ling
Posts: 11
Joined: Sun Jul 23, 2017 2:33 am
Contact:

Re: Do you know an app that deletes files/folder on a list?

#5 Post by Ding-A-Ling » Fri Aug 31, 2018 5:01 am

Batch Delete is naively written in AutoIt by me and has abolutely no warranty.
I CANNOT under any circumstances be held liable for any problems that might result from the use of this program.
USE AT YOUR OWN RISK.
Your use of the program would mean you fully accept the above.

This is an attempt to satisfy a request here:
starstuff wrote:I have a list of files and folders on a text file and would like to delete some files/folders.
I like to delete them without going into each folder and press delete.
I was thinking of a program that you put a list of files/folders to delete and it will delete them.
Does anybody know of an app that do this?
It will be a bonus if it can delete files on the network like \\Network-PC\files\delete.me.
  • Well, I doubt this will work with files on a network.
    (I don't know anything about that but, perhaps, my program could be subsequently extended to do this.)
  • For safety, by default, the files and folders (C:\ drive ONLY, I think) are deleted to the recycle bin.
    (This option can be unchecked for the current session.)
    However, if the "/s" option is used (eg. C:\Folder J\*.txt /s), files will be deleted from all subfolders using the DOS "del" command and the files will NOT go to the recycle bin.
  • The use of any software cannot be considered risk-free and I think that a program that is based on batch-deletion is particularly dangerous. As a minimum, you ought to create a system restore-point before using this.
Image

Batch Delete v1.02:
MediaFire
Last edited by Ding-A-Ling on Wed Sep 05, 2018 10:04 am, edited 4 times in total.
DAL's Programs
Image I wanna play with my ding-a-ling! Image Image

bitcoin
Posts: 57
Joined: Sun Dec 31, 2017 6:32 pm

Re: Do you know an app that deletes files/folder on a list?

#6 Post by bitcoin » Sat Sep 01, 2018 1:03 pm

CCleaner can delete user selected files and folders too, fwiw

Post Reply