Wildcards are great

milomak

Honorary Master
Joined
May 23, 2007
Messages
12,571
Reaction score
92
One of the little things I appreciate. Sometimes I download things which may have some sample files. Sometimes the word sample is has the s as a capital or not. how can i make it easier to delete both instances?

Code:
rm -rfv */*[S,s]ample*

i also have scripts to backup or restore the sd card on my hox. so i had to make the scripts executable. could do it in one shot with

Code:
chmod +x /data/ext/usr/{restore,backup}-h1x-sd

changed the flags for these two files
Code:
-rwxr-xr-x 1 milomak milomak 107 Jun  1 01:28 /data/ext/usr/backup-h1x-sd
-rwxr-xr-x 1 milomak milomak 102 Jun  1 01:28 /data/ext/usr/restore-h1x-sd
 
Top
Sign up to the MyBroadband newsletter
X