English (Global) > Completed

delete file or dir updated

(1/1)

Salvatore:
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?

z_o_o_m:
You can probably use something like this to clear empty folders

--- Code: ---https://stackoverflow.com/questions/7831286/how-to-delete-empty-folders-using-windows-command-prompt
--- End code ---

Navigation

[0] Message Index

Reply

Go to full version