|
Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#8
|
||||
|
||||
This script work fine in my computer: Code:
#!/bin/ksh #Script Below# #Add additional lines to config options. . ./prune.config eval "$DIR1 $DIR1OPTIONS" Regards. ---------- Post updated at 05:25 PM ---------- Previous update was at 04:12 PM ---------- This also work fine: Code:
DIR1="find /directory/holding" DIR1OPTIONS="-type f ! -name \"*.gz\" ! -name "*PDF*" ! -name \"*TIF*\" -size +1000k -mmin +120 -exec gzip {} ;" $DIR1 $DIR1OPTIONS (Without the backslash before the semi colon). Regards. |
Sponsored Links | ||
|
#9
|
||||
|
||||
Quote:
Quote:
|
Sponsored Links | ||
|
#10
|
||||
|
||||
Quote:
Regards. |
Sponsored Links | ||
|
![]() |
Thread Tools | Search this Thread |
Display Modes | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't remove spaces with sed when calling it from sh -c | Tribe | Shell Programming and Scripting | 3 | 12-13-2014 03:31 AM |
Shell script calling Perl function, sort and find data, write to new files | kowit010 | Homework & Coursework Questions | 6 | 11-02-2011 09:39 PM |
Script to find and remove characters | Zerby | Shell Programming and Scripting | 5 | 01-30-2008 01:16 AM |
i am trying to find out who is calling me | gail | Security | 2 | 07-09-2005 06:48 PM |
How to Find who is calling me? | uxbala | Programming | 9 | 02-15-2005 12:58 AM |
|