Usage:
DeleteFiles.exe -url <website>
[-recursive]
[-preview]
[-contains] <value>
[-outfile <filename>]
[-quiet]


-url <url> The URL to process.
-recursive Will iterate all sub sites.
-preview Will do a preview instead of delete.
-contains <value> File name contains value. (Remark: It's not a file mask, it's a string comparison with the 'containing' method)
-outfile <filename> Will write the result to a logfile.
-quiet Will silently answer Yes to all delete questions.

Example, to delete all PDF files from a site:
DeleteFiles.exe -url http://intranet -recursive -contains .pdf

Last edited Sep 7, 2011 at 8:57 PM by MagnusJ, version 2

Comments

No comments yet.