Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove all files matching a pattern in subdirectories

find . -type f -name '<pattern>' -delete

# OR 

find . -type f -name '<pattern>' -exec rm {} +
Comment

PREVIOUS NEXT
Code Example
Shell :: how to download 
Shell :: kubernetes pod stuck in terminating 
Shell :: user.signingkey git 
Shell :: post webhook bash 
Shell :: install node package globally 
Shell :: install redis 
Shell :: install portainer on raspberry pi 
Shell :: installer microsoft teams ubuntu 
Shell :: install talib on server 
Shell :: sudo apt-get dbeaver 
Shell :: zsh: permission denied: ./manage.py for django projects 
Shell :: how to avoid nginx not found 404 error ubuntu react app 
Shell :: how to make directory in ubantu 
Shell :: anbox install google play store 
Shell :: git create a new repository 
Shell :: git clone repository 
Shell :: how to sort tags on git tag 
Shell :: linux command linux distribution 
Shell :: how to check which shell 
Shell :: bash script object array 
Shell :: where are timezones located linux 
Shell :: chmod a+x 
Shell :: pushing existing project to github 
Shell :: make a desktop file in ubuntu 
Shell :: Installing Docker Engine in Linux/Ubuntu 
Shell :: create new repository on the command line 
Shell :: how to rename a file in terminal 
Shell :: move command in ubuntu 
Shell :: Please install mariadb package manually 
Shell :: linux process 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =