|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
Any shell script to remove the files...
... seen that are "extra" in the .jpg attatched here? File listings too long... "extra" files too random within the file list...
__________________
FreeBSD 13-STABLE |
|
|||
I'm not really sure what you're asking. Which files here are extra? Which ones do you want to delete? Why can't you just run rm on them?
|
|
|||
/usr/local/bin, for example, one paginates 500 screens and two of them have the weird files with an extra mixture of letters-numbers as suffixes, after I have paginated down 100 of the 500 screens to check. I could run rm on them, but they recur and I don't have the time to do it every so often. Just wondering if there was a "smart" regex to check upon suffix and put it in a shell script. So it is
a question of automation. In the jpg above, two g* ports have suffixes that are wrong and the one man3 entry near the bottom, a total of three. |
Tags |
trivia |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
doing without X .. what files to safely remove ? | daemonfowl | OpenBSD General | 17 | 22nd August 2012 12:07 AM |
ask for a shell script | Simon | Programming | 5 | 27th April 2010 01:07 AM |
shell script with zenity | bsdnewbie999 | OpenBSD General | 5 | 24th April 2009 02:37 AM |
Shell Script. | bsdnewbie999 | Programming | 21 | 15th July 2008 07:54 AM |
shell script with input | c0mrade | Programming | 5 | 13th July 2008 04:33 AM |