Author Topic: delete file or dir updated  (Read 2844 times)

Salvatore

  • Guest
delete file or dir updated
« on: 07-01-2018, 15:04:25 »
I have my daily backup in more sub-dir

2017
-----1201
----------APP1
---------------file_1a
---------------file_1b
---------------file_1c
----------APP2
---------------file_2a
---------------file_2b
---------------file_2c
----------APP3
---------------file_3a
---------------file_3b
---------------file_3c

 I want delete first files and sub-dirs and after dirs when i have finished of upload them.

Can you give a script?

Offline z_o_o_m

  • Administrator
  • Hero Member
  • *****
  • Posts: 7 230
  • just ask me ;)
    • File & Image Uploader
Re: delete file or dir updated
« Reply #1 on: 07-01-2018, 15:41:19 »
You can probably use something like this to clear empty folders
Code: [Select]
https://stackoverflow.com/questions/7831286/how-to-delete-empty-folders-using-windows-command-prompt

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Human verification ... What is the name of my program? File & Image ********?: