1
mkdir -p {input,sorted,archives}
Bash On Sorting and archiving 1600 ...
by Fu86,
June 21, 2010 10:36
1 2 3 4
#!/bin/bash SRC="/export/shared /export/beancounters/" DEST_BASE="/export/trash" ...
Bash On Temp folder cleanup
by ghostdog74.livejournal.com,
January 08, 2010 13:15
Since you are using bash, w...
Bash On Big and Ugly Associative Ar...
by Matt,
November 14, 2009 18:34
Yep... :)
looking at it aga...
Bash On Big and Ugly Associative Ar...
by netzdamon.myopenid.com,
November 14, 2009 15:24
Thanks a lot, 100x simpler ...
1 2 3 4
#!/bin/bash PKG_MANAGER="paludis" ...
Bash On Big and Ugly Associative Ar...
by Matt,
November 14, 2009 10:43
Looks like you only need on...
1 2 3 4
function egrep {
echo "command used:"
echo "egrep" $@
...
Bash On How to quiclky change this ...
by Pascal Charest,
September 09, 2009 19:31
Here, add this function to ...
1 2 3 4
#This is the error command egrep "smtp" -i ./production.log ...
Bash On How to quiclky change this ...
by GeekBoi,
July 29, 2009 19:20
Not sure that it saves you ...
1 2
mysqldump --opt --compress -u username -h host -ppassword database | gzip -c > database_dump.sql.gz ...
Bash On Unzip large database dump d...
by Ross Kendall,
June 14, 2009 15:29
If the database is not on t...
Bash On sort | uniq alternative
by ck01.myopenid.com,
February 14, 2009 16:45
Thanks.. I will research th...
1
ssh -C user@host 'mysql -u username -h host -p password database' < database_dump.sql
Bash On Unzip large database dump d...
by Adam,
February 12, 2009 21:12
I suppose you could take ad...
1
zcat database_dump.sql.gz | mysql -u username -h host -p password database
Bash On Unzip large database dump d...
by Fabien Jakimowicz,
February 12, 2009 12:36
Not really better, but you ...
Bash On Unzip large database dump d...
by Eineki,
February 11, 2009 09:03
To me this solution is quit...
1 2 3 4
One try was this: h0mer:~# alias uniqq='awk \'!x[$0]++\'' ...
Bash On sort | uniq alternative
by ck01.myopenid.com,
February 08, 2009 11:25
I was wondering if this cou...
Bash On sort | uniq alternative
by ck01.myopenid.com,
February 08, 2009 11:02
Thanks alot Eineki. Thats i...


You dont need the if tests ...