Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

find command recursive

# list all files in current folder and subfolders with given pattern
find . -name "pattern"
# list all files that match pattern 1 or pattern2
find . -type d -name pattern1 -or -name pattern2
# list all files that match pattern excluding a path
find . -type d -name 'pattern' -not -path 'excluded_path/*'
# list all files with size > 100k and size < 1M
find . -type f -size +100k -size -1M
# list all files last edited in last 3 days
find . -type f -mtime +3
Comment

PREVIOUS NEXT
Code Example
Shell :: install git on linux 
Shell :: install openvino ubuntu 
Shell :: permission denied /dev/kvm 
Shell :: install flask auto reload 
Shell :: 7zip cmd 
Shell :: pip install without dependencies 
Shell :: centos web panel install 
Shell :: git remove file from gitignore 
Shell :: bash create empty array 
Shell :: apt install xfce 
Shell :: optimize github repo 
Shell :: vue command not found 
Shell :: linux ogg to wav 
Shell :: ubuntu persistent root loggin 
Shell :: YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ 
Shell :: docker basic commands 
Shell :: how to install httrack in kali linux 
Shell :: linux how to display current time with timezone 
Shell :: git see tags 
Shell :: run shell script in dockerfile 
Shell :: git sync branch with master 
Shell :: how to install ssh server on ubuntu 16.04 
Shell :: heroku pg kill 
Shell :: cd into differernt drive 
Shell :: powershell create file and directory 
Shell :: docker redis image 
Shell :: npmrc file location windows 
Shell :: installing webpack-cli 
Shell :: create alias in powershell permanently 
Shell :: configure editor for git 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =