Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

batch script delete files older than 30 days

forfiles -p "C:whatever" -s -m *.* -d <number of days> -c "cmd /c del @path"
Comment

PREVIOUS NEXT
Code Example
Shell :: wsl home folder location 
Shell :: run spec file using pyinstaller 
Shell :: repair drive windows 
Shell :: tweak tool ubuntu 
Shell :: linux bash clean up log file 
Shell :: powershell on linux 
Shell :: find unix 
Shell :: Add RPM Fusion Fedora 36 
Shell :: shell script while loop example 
Shell :: git merge force 
Shell :: remove file from stage git 
Shell :: install openai gym 
Shell :: read last line file bash 
Shell :: install wireshark ubuntu 
Shell :: git reset hard for remote 
Shell :: install next.js 
Shell :: how to run eslint on the whole project 
Shell :: grant superuser permission to sudo user ubuntu 
Shell :: install pandas 
Shell :: bash math expression 
Shell :: uninstall all requirements 
Shell :: install phantomjs 
Shell :: ubuntu list running applications 
Shell :: linux subsystem for windows file location 
Shell :: how to still atom on ubuntu 
Shell :: remove app with snap 
Shell :: how to install opencv in anaconda, jupyter notebook 
Shell :: linux path environment variable 
Shell :: create new branch git 
Shell :: host key verification failed 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =