mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 06:20:12 +00:00
Merge pull request #626 from forid786/patch-1
Update Clean_up_files.bat
This commit is contained in:
commit
8e90999a6f
@ -1,23 +1,14 @@
|
|||||||
echo off
|
@echo off
|
||||||
@title Flipper SD Cleaner
|
@title Flipper SD Cleaner
|
||||||
cls
|
cls
|
||||||
cd /D "%~dp0"
|
cd /D "%~dp0"
|
||||||
echo.
|
echo This will DELETE the following file types from %~dp0 and all subdirectories:
|
||||||
echo Continuing will DELETE FILES from %~dp0 and all subdirectories.
|
echo .git, .mp4, .jp*, .png, .md, .pdf, and README files.
|
||||||
echo All .git, .mp4, .jp*, .png, .md, and README files will be removed!
|
echo Press any key to continue, or close this window to abort.
|
||||||
echo.
|
|
||||||
echo If you're good with that, press any key to continue. Otherwise, close out.
|
|
||||||
pause > NUL
|
pause > NUL
|
||||||
echo.
|
|
||||||
echo Deleting files, please wait...
|
echo Deleting files, please wait...
|
||||||
attrib *.* -h -s -r /s
|
attrib -h -s -r /s /d *.*
|
||||||
del *.git /s /q
|
del /s /q *.git *.mp4 *.jp* *.png *.md *.pdf README
|
||||||
del *.mp4 /s /q
|
echo Done! Press any key to exit.
|
||||||
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
|
pause > NUL
|
||||||
exit
|
exit
|
Loading…
Reference in New Issue
Block a user