Join 3,418 readers in helping fund MetaFilter (Hide)

13 posts tagged with bash and shell. (View popular tags)
Displaying 1 through 13 of 13. Subscribe:

Shell script filename pattern matching help

Another shell script help needed post [more inside]
posted by dukes909 on Sep 26, 2011 - 8 answers

xterm / bash weirdness?

Weird Unix terminal issue where yer trying to up arrow through bash history and it looks messed up, right? [more inside]
posted by xmutex on Sep 21, 2011 - 11 answers

Shell script handling CSV columns

I'm using a shell script to handle some excel docs by converting to csv and reformatting it a little bit. I'm having some difficulty going on with the next part of the script. Some help would be great. :) [more inside]
posted by fightoplankton on Jun 10, 2009 - 11 answers

How do I tell my Mac that I'm me?

Question about changing my terminal prompt (and other matters) in an OS X Bash shell. [more inside]
posted by grumblebee on Oct 15, 2008 - 3 answers

Quicksilver-style completion in bash shell?

How can I get Quicksilver-style completion in the bash shell? [more inside]
posted by dmd on Jul 11, 2008 - 11 answers

How to delete long path names with bash shell script?

BASHFilter! I've got a simple bash script that I've written to clean out a frequently used NAS. I run it every 30 days, it sets proper permissions, removes extraneous files and directories, but it frequently hangs on paths longer than 255 characters. [more inside]
posted by jackofsaxons on Jun 2, 2008 - 13 answers

how split a string in bash?

using bash, i need to split a variable in two, on whitespace, but with just the first word in one variable, and the rest in the second variable. this is a one liner with perl. how in bash? [more inside]
posted by jimjam on Jan 12, 2008 - 19 answers

Bash, I command thee to always...

How do I get bash to automagically execute a line or two of code at login? [more inside]
posted by nakedcodemonkey on Oct 22, 2007 - 25 answers

Help improve my scripting skills

I wrote a shell script for an acquaintance that renames Macs (OS 10.4) based on their existing names. It works well, but I'm convinced my code could be more efficient. Where can I make improvements? [more inside]
posted by pmbuko on Aug 29, 2007 - 11 answers

How to get a screen session to work the way I want to?

How do I get my Linux shell to behave the same when I am using screen, as when I am not using it? [more inside]
posted by davar on Nov 5, 2006 - 11 answers

No more shell games!

*nix shell "best practices" anyone? [more inside]
posted by furtive on May 31, 2006 - 9 answers

Calling *NIX shell wizards.

Calling *NIX shell wizards. [more inside]
posted by ori on Dec 11, 2005 - 33 answers

Datascrubing

datascrubbing: I'm using rm -R */*.gif (for example) to get rid of unnecessary files in a directory. There is stuff that's nested about five directories deep that I can't get to using the above command. I'm using the Bash terminal in OS X. specifically, there is a redundant file called "popup" nested in there that I want to get rid of, among others.

Second related problem: is there a way to recursively delete (full) directories, say ones that end in .blob using wildcards? And would I use rmdir or rm -R to do this?

I'm working on a copy of the original, so its ok to experiment a little
posted by mecran01 on Jul 16, 2004 - 18 answers

Page: 1