Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

check files created in the last x days linux

# modified within 30 days in /var/backup directory.
find /var/backup -type f -mtime +30
#file created within 60 minutes (1 hour) using -mmin optiopn.
find /var/backup -type f -mmin +60
#Search files with specific extension and time
find /var/log -name "*.log" -type f -mtime +30 
Comment

PREVIOUS NEXT
Code Example
Shell :: bash variable substitution 
Shell :: cmd turn on wifi adapter 
Shell :: how to compare differences between two files in linux 
Shell :: git merge origin master branch with branch 
Shell :: raspberry pi ssh headless 
Shell :: github filter not label 
Shell :: meld between two branches 
Shell :: docker list images and remove them 
Shell :: skript tuske gui 
Shell :: view rpm info 
Shell :: open prompt with default folder ubunut 
Shell :: use localhost for self signed cert 
Shell :: get you the list of those packages that Postgres installed. 
Shell :: get first 10 processes linux 
Shell :: bash forward argv to command 
Shell :: bash script perform root access check 
Shell :: Kubernetes cluster unreachable: Get "https://192.168.56.10:6443/version?timeout=32s": net/http: TLS handshake timeout 
Shell :: how to install brew on jelastic 
Shell :: mariadb references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them 
Shell :: git diff no context 
Shell :: linux covert file to ascii 
Shell :: git create new repo in git bash/ terminal 
Shell :: View a Particular Commit in git command 
Shell :: microstack.openstack to openstack 
Shell :: install lazydocker 
Shell :: enable vault autocomplete 
Shell :: linux bash assign variable 
Shell :: how to change branches in githup from terminal 
Shell :: download pgadmin 4 ubuntu 
Shell :: gufw ubuntu install 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =