En cours

Auto Delete Utility from List

We are in need of creating a script to delete files / folders. The exactly location of these files / folders are not known. The script must accept as parameter a filename with a list of such files files/folders and the path from which to start searching from, i.e.

autodelete [url removed, login to view] c:\path /y

where [url removed, login to view] would contain:

[url removed, login to view]

abc

[url removed, login to view]

this would delete all filenames that match the above under c:\path and recursively. Once it finishes the files, it would delete the folders and all files inside it. There may be a way to accomplish this via a clever command-line, that uses find and del.

please note, on the [url removed, login to view], no paths are specified, just a list of files and folder names and also there may be instances of other files / folders with the same name on other subfolders.

once the script starts running it will search for the files/folders to be deleted, who the full file/folder qualified with path and ask user to confirm deletion, unless parameter is set to -y, in which case, it will show the list as it deletes the files/folders.

Finally, we like to have a "just list" mode, where you just find all the occurrences, including the fully qualified path but not prompt for deletion and would never perform the delete operation (even if /y is set), i.e. autodelete [url removed, login to view] c:\path /justlist

Compétences : Microsoft, Script Shell, Administration Système, Serveur Windows

Voir plus : recursively, perform line, match list, abc 11, delete, clever, auto accept, delete file shell script, user list, user script auto, command line parameter, zip folder script, list auto, auto file, creating shell, list user names, autodelete, script confirm, list match, delete files folder, full list, shell zip, auto user script, auto list, auto file name

Concernant l'employeur :
( 111 commentaires ) Boston, United States

N° du projet : #1038586

Décerné à :

muthukrishnanram

Hi, plz check the PM

50 $ USD en 1 jour
(1 Commentaire)
1.4

9 freelance ont fait une offre moyenne de 57 $ pour ce travail

singhn

Hi, Please check your PM for more info. Regards Navdeep

175 $ USD en 3 jours
(15 Commentaires)
5.2
gangabass

I can do this job for you. See PM for details.

45 $ USD en 1 jour
(34 Commentaires)
4.2
srinichal

I can deliver the project asap

40 $ USD en 2 jours
(6 Commentaires)
2.9
rmrf

Hi sir, I'm expert at shell scripting. I can do this. Please check PM.

35 $ USD en 1 jour
(2 Commentaires)
2.8
MaxxT

Please see PM.

35 $ USD en 1 jour
(0 Commentaires)
0.0
GediminasB

This is an easy task. I shall write you the application in c#

40 $ USD en 1 jour
(0 Commentaires)
0.0
siq4you

I can deliver in Perl or shell.

50 $ USD en 1 jour
(0 Commentaires)
0.0
dengruilong

I deal with such utility script daily. I can finish this project in one day.

40 $ USD en 1 jour
(0 Commentaires)
0.0