On Mon, 6 May 2019 15:16:09 -0500
David Wright wrote:
> On Mon 06 May 2019 at 10:56:47 (-0700), Patrick Bartek wrote:
> > On Mon, 6 May 2019 13:08:05 -0400 Greg Wooledge
> > wrote:
> > > On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:
> > > > On Mon, 6 May 2019 10:24:24 -040
On Mon 06 May 2019 at 10:56:47 (-0700), Patrick Bartek wrote:
> On Mon, 6 May 2019 13:08:05 -0400 Greg Wooledge wrote:
> > On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:
> > > On Mon, 6 May 2019 10:24:24 -0400 Greg Wooledge
> > > wrote:
> > > > for dir in ab*/; do
> > > >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Greg Wooledge wrote:
> [...]
> You said you had twenty-something directories named ab01, ab02, etc.
> So it should have matched unless you ran it from the wrong place,
> or unless you lied about your directory names.
>
> But nobody would EVER lie abo
On Mon, 6 May 2019 13:08:05 -0400
Greg Wooledge wrote:
> On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:
> > On Mon, 6 May 2019 10:24:24 -0400
> > Greg Wooledge wrote:
> > > for dir in ab*/; do
> > > name=${dir%/}
> > > enfuse --output "$name.jpg" --compression=97 "$dir
On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote:
> On Mon, 6 May 2019 10:24:24 -0400
> Greg Wooledge wrote:
> > for dir in ab*/; do
> > name=${dir%/}
> > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg
> > done
>
> Typed in as a single line with a semi-colon at en
On Mon, 6 May 2019 18:12:55 +0200
john doe wrote:
> On 5/6/2019 4:24 PM, Greg Wooledge wrote:
> > On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:
> >> I want a script that allows commandline only applications that can't batch
> >> process to batch process. A speciifc example. I
On Mon, 6 May 2019 10:24:24 -0400
Greg Wooledge wrote:
> On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:
> > I want a script that allows commandline only applications that can't batch
> > process to batch process. A speciifc example. I will use the app
> > enfuse, an exposure mer
On 5/6/2019 4:24 PM, Greg Wooledge wrote:
> On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:
>> I want a script that allows commandline only applications that can't batch
>> process to batch process. A speciifc example. I will use the app
>> enfuse, an exposure merging program, a po
On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote:
> I want a script that allows commandline only applications that can't batch
> process to batch process. A speciifc example. I will use the app
> enfuse, an exposure merging program, a poor man's HDR.
>
> patrick@Debian9:~/Work$ enfu
On Sat, 4 May 2019 17:54:28 -0700
Will Mengarini wrote:
> * Patrick Bartek [19-05/04=Sa 08:08 -0700]:
> > [...] Perform an operation on files in unique, sequential
> > directories [...] never more than 99 -- usually a lot
> > less. The actual number will vary job to job. [...]
>
> If the se
On Sat, 4 May 2019 15:34:16 -0500
Richard Owlett wrote:
> On 05/04/2019 10:08 AM, Patrick Bartek wrote:
> > Hi! All,
> >
> > Want to create a simple, one liner to type in to automate what I've
> > been doing manually: [*SNIP*]
>
> I think the critical question is,> *WHAT* do you wish to acco
On Sat, 4 May 2019 20:21:03 +0200
john doe wrote:
> On 5/4/2019 5:08 PM, Patrick Bartek wrote:
> > Hi! All,
> >
> > Want to create a simple, one liner to type in to automate what I've
> > been doing manually: Perform an operation on files in unique,
> > sequential directories, save the results of
* Patrick Bartek [19-05/04=Sa 08:08 -0700]:
> [...] Perform an operation on files in unique, sequential
> directories [...] never more than 99 -- usually a lot
> less. The actual number will vary job to job. [...]
If the sequentially-numbered directories already exist:
`man find`
Else:
for
On 05/04/2019 10:08 AM, Patrick Bartek wrote:
Hi! All,
Want to create a simple, one liner to type in to automate what I've
been doing manually: [*SNIP*]
I think the critical question is,> *WHAT* do you wish to accomplish?
On 5/4/2019 5:08 PM, Patrick Bartek wrote:
> Hi! All,
>
> Want to create a simple, one liner to type in to automate what I've
> been doing manually: Perform an operation on files in unique,
> sequential directories, save the results of the operations for each
> directory with a file name of that di
Hi! All,
Want to create a simple, one liner to type in to automate what I've
been doing manually: Perform an operation on files in unique,
sequential directories, save the results of the operations for each
directory with a file name of that directory in the directory the
target directories reside
On Wed, May 23, 2012 at 1:04 PM, Craig A. Adams wrote:
> Thank you for the feedback Jon. :-)
>
>
> On 23/05/2012 09:12 AM, Jon Dowland wrote:
>>
>> { sleep 60; /data/backups/scripts/backup-disk-1.sh }&
>>
>> But I don't see why you even need the sleep.
>
>
> I agree. I suspect using sleep will m
Thank you for the feedback Jon. :-)
On 23/05/2012 09:12 AM, Jon Dowland wrote:
{ sleep 60; /data/backups/scripts/backup-disk-1.sh }&
But I don't see why you even need the sleep.
I agree. I suspect using sleep will merely suspend udev operations as well.
should be backticks here so that d
On Wed, May 23, 2012 at 08:30:29AM +0200, Craig A. Adams wrote:
> /data/backups/scripts/start-disk-1.sh
> #!/bin/bash
> echo /data/backups/scripts/backup-disk-1.sh | at now + 1 minute
>
> Is this the correct way to call the backup script, or is there a better way?
It doesn't seem like a bad idea;
Hi,
I am trying to setup a basic backup script for a Debian 6.0.5 server and
am wanting to validate the scripts I have so far.
Here is the scenario...
The server has 2 x 1Tb hard drives in RAID 1 config. A third 1Tb hard
drive is used for scheduled rsync snapshots.
I also have 5 x USB 3.0
The script:
http://pastebin.ca/1804613
but it's not working too well:
http://pastebin.ca/1804612
e.g.: the script makes "arviztur-ukorfurogep" from "árvíztűrő
tükörfúrógép", when it should be: "arvizturo-tukorfurogep"
Has someone a similar script, that works?
thanks:\
ps.: i tried it under luci
On Thu, Nov 26, 2009 at 3:20 PM, Tudod Ki wrote:
>
> postfix+sasl+dovecot script help!
>
> Hi everybody!
>
> I am trying to get the solution for days now, and I don't know what to do
> really :S
>
> I just want to write a script, what does automatically ins
postfix+sasl+dovecot script help!
Hi everybody!
I am trying to get the solution for days now, and I don't know what to do
really :S
I just want to write a script, what does automatically install postfix,
dovecot, and it configures sasl authentication for the clients.
I'm here righ
Fred L Youhanaie wrote:
Hi Colin,
I have had to deal with this sort of things on quite a number of
occasions, and I have my own little perl script, which is very similar
to Paul's, mine came straight out of the perl cookbook ;-)
If you replace Paul's last print statement with:
print j
Almut Behrens wrote:
I assume I
can make the first subexpression match zero or one time. In that
situation if the first subexpression doesn't match does $1=null?
...exactly (though it's 'undef', not null, strictly speaking). And
the nice thing is that Perl doesn't segfault or throw fat
Apologies Colin, the reply was meant to go to the list :-(
Fred L Youhanaie wrote:
Hi Colin,
Colin Ingram wrote:
Paul Smith wrote:
I was hoping to make this solution as simple as possible, so that my
colleagues (most won't know perl or any other scripting language, but
have experience wi
On Mon, May 23, 2005 at 09:50:12PM -0500, Colin Ingram wrote:
> Almut Behrens wrote:
> >
> > ... | perl -pe 's/^(\d+):(\d+):(\d+)/$1*60**2 + $2*60 + $3/e'
> >
> >in case the time string represents "hours:min:sec".
> >If it's "min:sec.msec" (looks like it to me...), then it'd be
> >
> >
> its actua
Almut Behrens wrote:
On Mon, May 23, 2005 at 04:17:44PM -0500, Colin Ingram wrote:
(...)
this creates a file that looks like this:
00:00.000, 3.24557e+007
00:02.510, 3.23482e+007
00:05.007, 3.24578e+007
00:07.507, 2.77091e+007
---snip---
I now need to covert the "elapse time" column from t
Paul Smith wrote:
%% Colin Ingram <[EMAIL PROTECTED]> writes:
ci> This is not a debian specific question but I thought some of you
ci> could help. I am writing a shell script to parse a CSV file
Why would you choose bash to do this? The shell is great for running
commands, but it's really
%% Colin Ingram <[EMAIL PROTECTED]> writes:
ci> This is not a debian specific question but I thought some of you
ci> could help. I am writing a shell script to parse a CSV file
Why would you choose bash to do this? The shell is great for running
commands, but it's really poor at parsing tex
Colin Ingram wrote:
This is not a debian specific question but I thought some of you could
help. I am writing a shell script to parse a CSV file to prepare it for
input into a program which will fit the data by a non-linear least
squares fitting routine. This program takes input from a file
On Mon, May 23, 2005 at 04:17:44PM -0500, Colin Ingram wrote:
> (...)
>
> this creates a file that looks like this:
> 00:00.000, 3.24557e+007
> 00:02.510, 3.23482e+007
> 00:05.007, 3.24578e+007
> 00:07.507, 2.77091e+007
> ---snip---
>
> I now need to covert the "elapse time" column from the strin
This is not a debian specific question but I thought some of you could
help. I am writing a shell script to parse a CSV file to prepare it for
input into a program which will fit the data by a non-linear least
squares fitting routine. This program takes input from a file
containing two column
On Wed, 29 Dec 2004 15:26:17 +0100, Bob Alexander <[EMAIL PROTECTED]> wrote:
> I keep a few different kernel source trees under /usr/src and each of
> them has a different .config file.
>
> Part of my pre-backup script I would like to run a command such as
>
> find /usr/src -name .config
>
> for
Bob Alexander wrote:
I keep a few different kernel source trees under /usr/src and each of
them has a different .config file.
Part of my pre-backup script I would like to run a command such as
find /usr/src -name .config
for example:
/usr/src/kernel-source-2.6.9-rja/.config
/usr/src/linux-2.6.10-
I keep a few different kernel source trees under /usr/src and each of
them has a different .config file.
Part of my pre-backup script I would like to run a command such as
find /usr/src -name .config
for example:
/usr/src/kernel-source-2.6.9-rja/.config
/usr/src/linux-2.6.10-rja/.config
and for e
On Tue, Dec 30, 2003 at 01:57:21PM -0700, [EMAIL PROTECTED] wrote:
> Quoting Joris Huizer <[EMAIL PROTECTED]>:
> > BTW, if something weird happens, how can I shut it down again? (you
> > never know...)
I just wanted to recommend /etc/init.d/iptables, and looked into the
script, but... It contain
[EMAIL PROTECTED] wrote:
Quoting Joris Huizer <[EMAIL PROTECTED]>:
BTW, if something weird happens, how can I shut it down again? (you
never know...)
iptables -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
ought to do it. This won't clear ou
Quoting Joris Huizer <[EMAIL PROTECTED]>:
> BTW, if something weird happens, how can I shut it down again? (you
> never know...)
iptables -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
ought to do it. This won't clear out user-defined changes
Shaun Crossley wrote:
On Wed, Dec 24, 2003 at 10:06:25AM +0100, Joris Huizer wrote:
Hello everybody,
I'm planning to use iptables as it seems it's powerfull and it will let
me choose really what is allowed and what is not (because of p2p stuff
etc. which allways keeps complaining - and out of c
On Wed, Dec 24, 2003 at 10:06:25AM +0100, Joris Huizer wrote:
> Hello everybody,
>
> I'm planning to use iptables as it seems it's powerfull and it will let
> me choose really what is allowed and what is not (because of p2p stuff
> etc. which allways keeps complaining - and out of curiosity)
>
On 24 Dec 2003, Joris Huizer wrote:
> Hello everybody,
>
> I'm planning to use iptables as it seems it's powerfull and it will let
> me choose really what is allowed and what is not (because of p2p stuff
> etc. which allways keeps complaining - and out of curiosity)
>
> However, I never used ipta
Hello everybody,
I'm planning to use iptables as it seems it's powerfull and it will let
me choose really what is allowed and what is not (because of p2p stuff
etc. which allways keeps complaining - and out of curiosity)
However, I never used iptables before and it looks like it's got some
lea
tober 19, 2003 5:28 AM
Subject: IPtables and DMZ script
help
> Hi there guys is there any one that can help me on IPtables and
DMZ.> Perferably have a pre made script that I can mod to suit my
needs..> This is what I need t
Hi there guys is there any one that can help me on IPtables and DMZ.
Perferably have a pre made script that I can mod to suit my needs..
This is what I need to do.
External Network (BAD)
|
|
eth1 | ppp0
---
On Sunday 07 September 2003 1:10 am, Dave Carrigan wrote:
>On Sat, Sep 06, 2003 at 10:03:09PM -0400, Jeff Elkins wrote:
>> I'm doing a lot of work with a Sharp Zaurus which requires several
>> re-flashes of the box daily - With my initrd.bin, ssh keys on the Z
>> regenerate with each flash. As a co
On Sat, Sep 06, 2003 at 10:03:09PM -0400, Jeff Elkins wrote:
> I'm doing a lot of work with a Sharp Zaurus which requires several re-flashes
> of the box daily - With my initrd.bin, ssh keys on the Z regenerate with each
> flash. As a consequence, my host .ssh/known_hosts is frequently outdated
on Sat, Sep 06, 2003 at 10:03:09PM -0400, Jeff Elkins ([EMAIL PROTECTED]) wrote:
> I'm doing a lot of work with a Sharp Zaurus which requires several
> re-flashes of the box daily - With my initrd.bin, ssh keys on the Z
> regenerate with each flash. As a consequence, my host .ssh/known_hosts
> is
I'm doing a lot of work with a Sharp Zaurus which requires several re-flashes
of the box daily - With my initrd.bin, ssh keys on the Z regenerate with each
flash. As a consequence, my host .ssh/known_hosts is frequently outdated and
I must edit it to remove references to z,xxx.xxx.xxx.xxx.
I'd
man find
erik
Chris Mason wrote:
>
> I need to come up with a bash shell script that deletes all the files in a
> folder older than N days. I'm not sure how to test for file age so I can't
> get it done myself, can someone suggest a way?
>
> Chris Mason
> Box 340, The Valley, Anguilla
"Chris Mason" <[EMAIL PROTECTED]> writes:
> I need to come up with a bash shell script that deletes all the files in a
> folder older than N days. I'm not sure how to test for file age so I can't
> get it done myself, can someone suggest a way?
use find(1) with the mtime flag, e.g.
find /tmp -t
I need to come up with a bash shell script that deletes all the files in a
folder older than N days. I'm not sure how to test for file age so I can't
get it done myself, can someone suggest a way?
Chris Mason
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463
US
Michael Beattie wrote:
> On Mon, 26 Oct 1998, Phillip Neumann wrote:
>
> > Hi debian world...
> >
> >
> >
> >
> > Im not know very much about scripts so i need some help with one..
> >
> > Here my situation:
> >
> > A script will be executed when i call to my linux box... here it is:
> >
> > /etc/
Dunno why you are doing it this way so let me ask. Why are you not using the
scripts in /etc/ppp/ip-{up,down}?? The IP address of the connection is passed
to the scripts on login. So you are guaranteed to get a good IP. If this is
not useful for some reason contact me and I can get your script
On Mon, 26 Oct 1998, Phillip Neumann wrote:
> Hi debian world...
>
>
>
>
> Im not know very much about scripts so i need some help with one..
>
> Here my situation:
>
> A script will be executed when i call to my linux box... here it is:
>
> /etc/init.d/xringd stop
> /root/IP_MAIL
> pon in
Hi debian world...
Im not know very much about scripts so i need some help with one..
Here my situation:
A script will be executed when i call to my linux box... here it is:
/etc/init.d/xringd stop
/root/IP_MAIL
pon incomingcall<
/etc/init.d/xringd start
In message <[EMAIL PROTECTED]>, write
s:
>I'm modifying the pinepgp scripts to work with PGP 5.0... the output is
>somewhat different then the previous version. Anyhow I'm new to these
>programs and heres the output:
>
>Good signature made 1997-08-06 15:10 GMT by key:
> 1024 bits, Key
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm modifying the pinepgp scripts to work with PGP 5.0... the output is
somewhat different then the previous version. Anyhow I'm new to these
programs and heres the output:
Good signature made 1997-08-06 15:10 GMT by key:
1024 bits, Key ID 8C111B46
kill -l for a list of the names attached to the numbers
man 7 signal for a more exhaustive explanation.
On 10 Jun 97, Andy J. Smith wrote regarding:
__ Re: Script help __
> On Mon, 9 Jun 1997, J. Paul Reed wrote:
>
> [different types of signals]
>
> > Do you know what -1
59 matches
Mail list logo