Answers for "batch delete all files in subfolders of type"

0

batch delete all files in subfolders of type

del /S *.jpg

del - del command is used delete files from a computer
/S - recurses subdirectories and checks their contents
* - wildcard for the filename
.jpg - the type (extension) wanted
Posted by: Guest on August-21-2021
0

bat to delete all ".trashed" files in subfolders

del /S .trashed*
Posted by: Guest on July-11-2021
0

batch delete all folders and files

for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)
Posted by: Guest on June-08-2021

Code answers related to "batch delete all files in subfolders of type"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language