[H-GEN] General Digest, Vol 64, Issue 17

John Howell jhowell at internode.on.net
Sun Feb 22 16:03:44 EST 2009


how about nohup

ie:
nohup myjob.sh > myjob.std 2>myjob.err &

Then you can log on and look at the logs. I don't think you'll be able  
to
interact with it again.

On 23/02/2009, at 6:29 AM, general-request at lists.humbug.org.au wrote:

> Send General mailing list submissions to
> 	general at lists.humbug.org.au
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.humbug.org.au/mailman/listinfo/general
> or, via email, send a message with subject or body 'help' to
> 	general-request at lists.humbug.org.au
>
> You can reach the person managing the list at
> 	general-owner at lists.humbug.org.au
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of General digest..."
>
>
> Today's Topics:
>
>   1. Re: Detaching in putty (was Script E-book ?) (David Duffy)
>   2. Re: Detaching in putty (was Script E-book ?)
>      (QuarkAV.com - Hilton Travis)
>   3. Re: Detaching in putty (was Script E-book ?) (David Duffy)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 22 Feb 2009 13:21:09 +1000
> From: David Duffy <david at audiovisualdevices.com.au>
> Subject: Re: [H-GEN] Detaching in putty (was Script E-book ?)
> To: general at lists.humbug.org.au
> Message-ID: <49A0C4A5.7000802 at audiovisualdevices.com.au>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: /archives/general/attachments/20090222/2538e929/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Sun, 22 Feb 2009 14:55:57 +1000
> From: "QuarkAV.com - Hilton Travis" <hilton at quarkav.com>
> Subject: Re: [H-GEN] Detaching in putty (was Script E-book ?)
> To: David Duffy <david at audiovisualdevices.com.au>
> Cc: general at lists.humbug.org.au
> Message-ID: <49A0DADD.4010705 at quarkav.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On 22/02/2009 1:21 PM, David Duffy wrote:
>> David Duffy wrote:
>>> Greg Black wrote:
>>>> On 2009-02-22, David Duffy wrote:
>>>>
>>>>
>>>>> I've searched online and have found enough examples and docs to  
>>>>> get me
>>>>> started (loops, if then, echo, exit, etc) but can't figure out  
>>>>> how to
>>>>> split a directory name into it's parts.
>>>>>
>>>>> eg: From the directory "/foo/bar/" I want to just get "bar" (and  
>>>>> add an
>>>>> extension) so I can use that in my script as a filename.
>>>>>
>>>>
>>>> Look at basename and dirname.
>>>>
>>>
>>> I can't seem to get the syntax right. How do you get basename to  
>>> work
>>> with directories that have spaces? eg. "foo/bar \2/"
>>>
>>>    # Set the output filename
>>>    OutFileName="`basename $MovieDir`.mkv"
>>>
>>> The problem is that OutFileName is assigned the value "bar.mkv"
>>> instead of "bar 2.mkv" but I'm a little lost of how to fix that.
>>
>> OK, I got this sorted. It turns out OutFileName did contain the
>> correct (full) name. My problem was that the spaces were still not
>> escaped, and when fed to the video codec without quotes got truncated
>> again! I added quotes to the codec parameters and it's all working
>> well now.
>>
>> This means I can now give the box a bunch of directories to process
>> while I'm not here. Now, my next question; I can start this batch in
>> putty from a Windows box, but if I close the putty ssh session, it
>> will terminate. I'd like to somehow start the batch, detach from it
>> and (optionally) get back into it to see how it's going. Is this
>> possible? The box the script is running on has no monitor.
>> David...
>> -- 
>> ___________________________________________
>> David Duffy        Audio Visual Devices P/L
>> Unit 8, 10 Hook St, Capalaba 4157 Australia
>> Ph: +61 7 38235717      Fax: +61 7 38234717
>> Our Web Site:www.audiovisualdevices.com.au
>> ___________________________________________
>>
> G'day David,
>
> Would "screen" be what you're looking for here?
>
> - HiltonT
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: /archives/general/attachments/20090222/b9841988/ 
> attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Sun, 22 Feb 2009 17:44:46 +1000
> From: David Duffy <david at audiovisualdevices.com.au>
> Subject: Re: [H-GEN] Detaching in putty (was Script E-book ?)
> Cc: general at lists.humbug.org.au
> Message-ID: <49A1026E.9050708 at audiovisualdevices.com.au>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: /archives/general/attachments/20090222/68f5b98a/ 
> attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> General mailing list
> General at lists.humbug.org.au
> http://lists.humbug.org.au/mailman/listinfo/general
>
>
> End of General Digest, Vol 64, Issue 17
> ***************************************





More information about the General mailing list