Menu
Horje
Hi !
Welcome,
Guest
Close Menu
Home
Coding
Code Example
Download
Home
Coding
Code Example
How to remove all files in a directory matching a regex pattern shell Code Example
how to remove all files in a directory matching a regex pattern shell
ls | grep -P "^A.*[0-9]{2}$" | xargs -d"\n" rm
Source:
superuser.com
Next
Previous
Shell
Related
how to open ubuntu file in visual studio Code Example
git pull from previous commit Code Example
how to go to a previous commit state Code Example
checkout master with previous commit Code Example
bash array Code Example
Type
:
Code Example
Category
:
Coding
Sub Category
:
Code Example
Uploaded by
:
Admin
Views
:
13