Search Results

Search: Posts Made By: nixie
1,972
Posted By nixie
Thank you so much... that is exactly what I...
Thank you so much... that is exactly what I needed. :b:

---------- Post updated at 03:02 PM ---------- Previous update was at 10:06 AM ----------



Thanks for the reply Alister... I've read...
1,972
Posted By nixie
Strange output from find
How can I prevent find from outputting the directory name /home/xxxxxxxx/Backup/.system (which isn't even "other writable"?

I am trying to search for files that are "world writable" on a shared...
6,880
Posted By nixie
Sorry that was my very first post. Every...
Sorry that was my very first post.

Every single option when referring to options on a long command???
It wasn't code... it was a diagnostic message issued by awk copied and pasted from the...
6,880
Posted By nixie
Thanks for the replies Vryali & Alister A...
Thanks for the replies Vryali & Alister

A special thanks to Alister this:
find "$path" -type d \( -iwholename "$ScriptDir" -o -iwholename "$anotherDir" \) -prune \
-o -type f -exec...
3,884
Posted By nixie
Thanks for the reply raggmopp - just to clarify,...
Thanks for the reply raggmopp - just to clarify, what I want to do is setup a server on a virtual machine that will accept IMAP logins. I don't actually need to connect the server to the internet or...
6,880
Posted By nixie
Thanks for the quick reply guruprasadpr I...
Thanks for the quick reply guruprasadpr

I tried
ScriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Evaluates to /home/username/wd
X="-name $ScriptDir/ -o -name...
3,884
Posted By nixie
Minimal Mail Server Setup for Local Mail Transfer
I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail...
6,880
Posted By nixie
Excluding directories from a find
I've looked at a few similar threads, but I can't bridge from those examples to what I'm working on, so I'm hoping someone can help.

I want to extend the following statement
find $PathToCheck...
4,213
Posted By nixie
Formatting File Using Shell Script (Using AWK)
Building on Franklin52's example... I found a syntax error as well :
awk '{if (substr($0,67,6)=="CONTRA"){exit} if($1 ~ /^[0-9]/){print }}' awktest.dat

Produces
...
7,827
Posted By nixie
How to Pass filename to AWK in bash script (Solved)
Thanks bartus11... you got it! Can't believe I missed that... wasted about an hour messing with this code before posting here.

Thanks also to jim mcnamara for the reply... didn't have to bother...
7,827
Posted By nixie
How to Pass filename to AWK in bash script (SOLVED)
I have written a script which works fine, to remove patterns contained in EXCLUDE.DAT from input.txt


awk 'BEGIN {n=0;while (getline < "EXCLUDE.DAT" > 0){ex[n]=$0;n++}} {for(var in ex){print ...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 01:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy