Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

delete file older linux find

find /opt/backup -type f -mtime +30 -delete
Comment

linux delete files older than specific date

find /path ! -newermt "YYYY-MM-DD HH:MM:SS" | xargs rm -rf
Comment

linux delete files older than

find /opt/backup -type f -mtime +30
Comment

bash delete files older than

find ./where/to/delete/files -mtime +n -delete
Comment

PREVIOUS NEXT
Code Example
Shell :: linux change permission 
Shell :: bash length of array 
Shell :: Could not resolve HEAD to a revision 
Shell :: search git history 
Shell :: taskkill linux 
Shell :: -bash: docker: command not found mac 
Shell :: how to install choclatey using command prompt 
Shell :: git discard all local changes 
Shell :: ubuntu not showing video thumbnails 
Shell :: create new docker image from existing 
Shell :: Related to anydesk not opening in ubuntu 
Shell :: react app deploy on github pages 
Shell :: dotnet format install 
Shell :: install nginx ubuntu 
Shell :: raspberry pi connect to wifi via terminal 
Shell :: Is the docker daemon running? 
Shell :: yum clean all 
Shell :: android studio kvm is required to run this avd 
Shell :: how install node 14 ubuntu 
Shell :: list inactive services ubuntu 
Shell :: conda install easydict 
Shell :: aws cli create ecr repository if not exists 
Shell :: set email and name which gets baked into the every git commit in the local config file found in ./.git/config 
Shell :: nodejs installation on ubuntu 
Shell :: revert git add 
Shell :: bash read file content 
Shell :: ruby install for mac 
Shell :: obs studio fedora 
Shell :: bash make multiple directories in current directory 
Shell :: Cannot install windows-build-tools 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =