First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
backup shell scripts
Hi I have a backup shell script for each hour, that selectively copies a defined backup created by FileMaker Server to (currently) the Shared User. As it is I have a shell script for each hour, and a corresponding launchd for each shell script. So 24 shell scripts, and 24 launchd Is there an approach I ... 12 Jul 2010 21:49
I just don't understand find -prune
I have the following directories and files: $ find . .. ../A ../A/a.pdf ../B ../B/b.pdf ../B/b.txt ../C ../C/c.pdf That is, three directories (A, B, and C), and each one has one PDF file in it. Directory B also has b.txt. I'm trying to get the find command to generate this output: ../B/b.pdf ../C... 9 Jul 2010 23:49
find command parameter (mtime - or + )
I know what the mtime parameter does but can somebody explain what the difference is when the number followed by the parameter is "+" and when it's "-". Ie: #find . -name "*.trc" -mtime -2 -print | wc -l 3 #find . -name "*.trc" -mtime 2 -print | wc -l 0 There is obvious a difference sinc... 12 Jul 2010 18:30
Team Red Bull Hats ( www.nike-black.com )
Discount smet caps( www.nike-black.com ) cheapsale NBA caps and hats ( www.nike-black.com ) Supply AFF CAPS and hat ( www.nike-black.com ) cheapsale winter warm caps ( www.nike-black.com ) Discount ed hardy hats and caps ( www.nike-black.com ) Discount juicy caps ( www.nike-black.com ) Discount dc hats and caps (... 8 Jul 2010 18:05
Daemons and hangups
Hello all, How can I launch something via ssh and not wait for it to finish ? OK, in more details, consider the following daemon Loop.sh: #! /bin/bash while true; do echo -n "."; sleep 1; done And the following init.d script for it (InitLoop.sh): #! /bin/bash case "$1" in start) echo "Starting" ... 9 Jul 2010 09:25
substitution for octal chars
When I download a text file containing octal chararcters e.g. \342\200\231 as in: can\342\200\231t or don\342\200\231t is there a way to replace these with their ascii equivalent from the shell with sed, perl or awk? Thanks. ... 8 Jul 2010 09:08
Pattern matching
This works well on the command line: for f in !(*jpg); do echo $f; done But in a script it gives this error message: ../script: line 1: syntax error near unexpected token `(' ../script: line 1: `for f in !(*jpg); do echo $f; done' Why? (I use GNU bash, version 3.2.39(1)-release) -- Salve ... 7 Jul 2010 15:41
awk passing variables
I want to parse HH:MM:SS with AWK. I know I can do something like this (see below) and this will put my values into variables, which I can use in the shell. But it also involves invoking awk 3 times, which is wasteful. cpu_hh=$(echo $cpu_time | $AWK -F':' ' { print $1 } ') cpu_mm=$(echo $cpu_time | $AWK -F':... 13 Jul 2010 03:15
rm in a regular expression
Hi there, it's been a while that i'm not join'g the group i need some tips..under Leopard is there a way to rm the file not converted textutil -convert html gnu.webarchive i will have gnu.html i would like to remove the gnu.webarchive can i do like this textutil -convert html gnu.webarchive| rm {} ????? Thanks in... 9 Jul 2010 09:25
save your money and open all blocked sites now
save your money and open all blocked sites now just enter to this proxy http://prog2010.zxq.net/proxy/ and put your site for free ... 6 Jul 2010 17:48
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19