Jump to content

Clear out ZIP files


danellis

Recommended Posts

I've been asked to clear out ZIP files from our system.  We keep a digital record of everything that we send out in dated folder.

 

Sometimes these will be collected together into a ZIP to send and I've been asked to remove these ZIPs.  Sometimes the actual files are deleted after doing this, or (generally when it's an eTransmit) the original file is a ZIP; in these instances I obviously need to retain the ZIP file.

 

So far, I've been doing this by going into each Issued folder manually and checking for appropriate (or rather inappropriate!) ZIP folders, but my boss thinks should be a quicker way of doing this.  I don't think a simple search for ZIP files will save much time (if any) because it would just tell me that I need to check 75% of the folders to see if there's anything other than a ZIP in there.

Can anyone suggest anything?

dJE

Link to comment
Share on other sites

Wouldn't this be more of a Windows Explorer issue? I used to do these sort of things through the Command Prompt.

 

I am not really sure from your description what exactly determines if something needs deleted or not?

  • Like 1
Link to comment
Share on other sites

2 hours ago, SLW210 said:

Wouldn't this be more of a Windows Explorer issue? I used to do these sort of things through the Command Prompt.

 

I am not really sure from your description what exactly determines if something needs deleted or not?

 

Thanks both

 

I thought this was just the closest sub-forum to what I want and hoped someone here would be able to help.

 

Basically files that have had their contents extracted need to be deleted; those that haven't don't.

 

dJE

Link to comment
Share on other sites

2 hours ago, danellis said:

 

.....Basically files that have had their contents extracted need to be deleted; those that haven't don't......

 

I thought that zip files remained unaltered whether the contents have been extracted or not, so how do you decide what needs to be deleted?

 

 

  • Like 1
Link to comment
Share on other sites

Perhaps all your e-transmit files contain a plot style table. That would allow you to identify all e-transmit zip files, but it would not indicate whether they have been unzipped at all.

Link to comment
Share on other sites

Would the extracted files be in a folder with the same name as the ZIP files? If so that should be a simple check. I'll have more time tomorrow to look into.

Link to comment
Share on other sites

Just a mention how many zips on a drive, get a list

 

Down left in WINDOWS

CMD

dir *.zip /s /b >zipdir.txt

Open the file zipdir.txt it will be in the current directory

 

You can start at a different level using cd\directory old fashioned dos.

CD \Myprojects\fredsprojects

dir *.zip /s /b >c:\Myprojects\zipdir.txt

 

 

 

Edited by BIGAL
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...