Forum - File & Image Uploader

English (Global) => Requests => Completed => Topic started by: Salvatore on 07-01-2018, 15:04:25

Title: [X] delete file or dir updated
Post by: Salvatore 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?
Title: Re: delete file or dir updated
Post by: z_o_o_m 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