Answers for "delete all files, folders and subfolders in ./"

2

delete folder and its subfolders in python

import shutil
shutil.rmtree('/path/to/your/dir/')
Posted by: Guest on June-10-2020
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

Code answers related to "delete all files, folders and subfolders in ./"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language