View Code? Open in Web Editor
NEW
this tool can delete all file (or just .psd file or another)!! you can open the "file deleter.py" with vscode and edit it how you like!
Home Page: https://github.com/saed-gpr/file-deleter
file-deleter's Issues
In the fifth line
cmd = subprocess.check_output('F: && dir /S /B *.psd', shell= True).decode().split('\n')
there is a part: 'F: && dir /S /B *.psd'
what does it mean? Can it be replaced by:
format = [".txt", ".png", ".jar", ".jpg", ".md", ".exe"]
cmd = subprocess.check_output(f'C: {format}', shell=True).decode().split('\n')