From 967db77c2aa3328f3e712c3a659951898c5be0a2 Mon Sep 17 00:00:00 2001 From: UberGuidoZ <57457139+UberGuidoZ@users.noreply.github.com> Date: Thu, 8 Feb 2024 22:38:50 -0800 Subject: [PATCH] Added quick batch file to cleanup SD card after copying files --- Clean_up_files.bat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Clean_up_files.bat diff --git a/Clean_up_files.bat b/Clean_up_files.bat new file mode 100644 index 00000000..55499c1a --- /dev/null +++ b/Clean_up_files.bat @@ -0,0 +1,23 @@ +echo off +@title Flipper SD Cleaner +cls +cd /D "%~dp0" +echo. +echo Continuing will DELETE FILES from %~dp0 and all subdirectories. +echo All .git, .mp4, .jp*, .png, .md, and README files will be removed! +echo. +echo If you're good with that, press any key to continue. Otherwise, close out. +pause > NUL +echo. +echo Deleting files, please wait... +attrib *.* -h -s -r /s +del *.git /s /q +del *.mp4 /s /q +del *.jp* /s /q +del *.png /s /q +del *.md /s /q +del README /s /q +echo. +echo Done! Press any key to exit. (Scroll up for errors if desired.) +pause > NUL +exit \ No newline at end of file