-
Using Windows console interface. I want to shred the contents of a directory without deleting the directory of itself. Can it be done? I tried adding a |
Beta Was this translation helpful? Give feedback.
Answered by
az0
Jan 13, 2022
Replies: 2 comments 1 reply
-
This is not a feature, so you need to pass each file or sub-folder as a separate command line argument. If there are not many, you can do it on one command line. A script can make it easier. It may be easier to just recreate the deleted directory using MKDIR, unless the directory has special properties like compression or permissions for a multi-user system. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jgkennedy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not a feature, so you need to pass each file or sub-folder as a separate command line argument. If there are not many, you can do it on one command line. A script can make it easier.
It may be easier to just recreate the deleted directory using MKDIR, unless the directory has special properties like compression or permissions for a multi-user system.