Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

find exclude specific file

# find everything but not html
find -type f -not -name *.html

# find everything in /home but not txt and remove them
find /home -type f -not *php -exec rm {} ;
Comment

PREVIOUS NEXT
Code Example
Shell :: tar zip multiple files 
Shell :: material ui alert module 
Shell :: git global settings ssh 
Shell :: ubuntu wifi with no internet 
Shell :: bash replace comma with newline 
Shell :: django.core.exceptions.ImproperlyConfigured: Requested setting ROOT_URLCONF, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. 
Shell :: remove commits from github 
Shell :: show drives linux 
Shell :: refresh desktop entries 
Shell :: how to unzip tar.gz file 
Shell :: linux show all group members 
Shell :: laravel install by composer 
Shell :: how to push another account git 
Shell :: windows features windows subsystem for linux not 
Shell :: docker start exited container 
Shell :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 
Shell :: git track remote branch 
Shell :: npm install strapi 
Shell :: install radeon drivers ubuntu 
Shell :: gem install rails version 
Shell :: k8s set default namespace 
Shell :: google shell 
Shell :: @material-ui/icons 
Shell :: Reading state information... Done E: Unable to locate package docker-ce 
Shell :: how to create new repository in github 
Shell :: how to uncommit the last commit in git 
Shell :: refusing to exec crouton from noexec mount 
Shell :: how to run power shell script 
Shell :: how to install virtualbox in ubuntu 18.04 
Shell :: command not found 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =