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

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

Can you help me find this shell script?

Several years ago, I created a shell script (or Bash or I don't know what) that establishes a secure shell proxy connection to my home router when I type a short command into Mac OS X's Terminal. Now, I need to edit that script, but I can't find it for the life of me. I've tried searching on likely names looking at both visible and invisible files. I've tried searching for content that I know must be part of the script, but nothing comes up. Rather that executing a command, is there a way to open it in a text editor or display the actual script if I don't know the location of the file on my computer? Is there any other way I could go about finding this? Is there a location that whatever guide I was following would have suggested I save this script? I tried looking in usr/bin but nothing in there seems likely.
posted by willnot on May 5, 2014 - 6 answers

Shell script filename pattern matching help

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

Need a shell script to filter out directories

Shell gurus needed! I need a line/script that will create a list of all sub-folders within a folder that do not contain files with a certain filename pattern. There is an additional requirement...(more inside) [more inside]
posted by dukes909 on Aug 10, 2011 - 12 answers

Scripts for enforcing naming conventions?

I'm trying to find scripts to help my studio follow naming conventions. [more inside]
posted by jragon on May 1, 2011 - 12 answers

How do I use awk inside my Automator workflow?

The Mac OS X Automator tool lets me run a perl script as well shell scripts, but I'd like to use awk instead. How can I fit this into my workflow? Perl appears in the popup menu of possible shells for the script, but awk does not. [more inside]
posted by maniabug on Jan 9, 2011 - 4 answers

Is there a tool to help me consolidate all these image files?

MacFilter: Looking for a program or shell script that will allow me to quickly and easily scan my computer (Mac) for duplicates of images and consolidate them so that aren't redundant copies taking up space everywhere. [more inside]
posted by Bengston on Oct 26, 2010 - 3 answers

Help Me Automatically Shorten Status Updates for Facebook/Twitter Updates ...

I'm seeking to write a shell script (probably using sed) that will be given some text and will abbreviate it for me. I've no need to reinvent the wheel, if such a shell script already exists. More inside. [more inside]
posted by WCityMike on Jul 26, 2010 - 6 answers

Who's got the focus?

On MacOS, I can say osascript -e 'set myapp to name of (info for (path to frontmost application))' to print the name of the program that currently has focus, in a way that's useful for shell scripting. How can I get the same information in a graphical session on Linux?
posted by fantabulous timewaster on May 12, 2010 - 21 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 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

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 Me Morbidly Count Down the Remaining Days of My Life!

I would basically like to rip off, wholesale, some command-line script which will provide me a countdown -- only in days. No years, months, minutes, or seconds. Unfortunately, adapting an existing script is beyond my ken. [more inside]
posted by WCityMike on Sep 27, 2007 - 5 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

what the fuc>|?

What does >| do in a shell script? [more inside]
posted by flabdablet on Dec 13, 2005 - 9 answers

How do I represent "the file previous to this one" in Korn Shell?

Korn Shell Filter: I have a list of time ordered files, with Julian day of year as part of the filename. There is not a file for every Julian day. If I grep on a directory listing for file *{DOY}*, and that file does not exist, I would like my script to be smart enough to use the file immediately preceding it in the listing, even if the preceding file is not *{DOY-1}*. My Google-Fu has failed me. Any suggestions?
posted by Fat Guy on Nov 22, 2005 - 9 answers

Page: 1