Re: 7z command works fine on command line but not in script

2014-02-23 Thread berenger . morel
Le 23.02.2014 02:58, Scott Ferguson a écrit : On 23/02/14 07:39, berenger.mo...@neutralite.org wrote: Le 20.02.2014 02:15, Scott Ferguson a écrit : On 19/02/14 23:32, berenger.mo...@neutralite.org wrote: Le 19.02.2014 10:53, Scott Ferguson a écrit : Just read your last post before sendi

Re: 7z command works fine on command line but not in script

2014-02-22 Thread Scott Ferguson
On 23/02/14 07:39, berenger.mo...@neutralite.org wrote: > > > Le 20.02.2014 02:15, Scott Ferguson a écrit : >> On 19/02/14 23:32, berenger.mo...@neutralite.org wrote: >>> >>> >>> Le 19.02.2014 10:53, Scott Ferguson a écrit : Just read your last post before sending this, so this may no

Re: 7z command works fine on command line but not in script

2014-02-22 Thread berenger . morel
Le 20.02.2014 02:15, Scott Ferguson a écrit : On 19/02/14 23:32, berenger.mo...@neutralite.org wrote: Le 19.02.2014 10:53, Scott Ferguson a écrit : Just read your last post before sending this, so this may no longer be relevant... I don't know that you need to quote the variables. I use c

Re: Coloured CLI [was: Re: 7z command works fine on command line but not in script]

2014-02-20 Thread Scott Ferguson
On 20/02/14 20:24, Darac Marjal wrote: > On Thu, Feb 20, 2014 at 12:15:56PM +1100, Scott Ferguson wrote: >> On 19/02/14 23:32, berenger.mo...@neutralite.org wrote: >>> >>> >>> Le 19.02.2014 10:53, Scott Ferguson a écrit : Just read your last post before sending this, so this may no longer be >

Coloured CLI [was: Re: 7z command works fine on command line but not in script]

2014-02-20 Thread Darac Marjal
On Thu, Feb 20, 2014 at 12:15:56PM +1100, Scott Ferguson wrote: > On 19/02/14 23:32, berenger.mo...@neutralite.org wrote: > > > > > > Le 19.02.2014 10:53, Scott Ferguson a écrit : > >> Just read your last post before sending this, so this may no longer be > >> relevant... I don't know that you ne

Re: 7z command works fine on command line but not in script

2014-02-19 Thread Scott Ferguson
On 19/02/14 23:32, berenger.mo...@neutralite.org wrote: > > > Le 19.02.2014 10:53, Scott Ferguson a écrit : >> Just read your last post before sending this, so this may no longer be >> relevant... I don't know that you need to quote the variables. I use >> coloured bash coloured *editor* i.e. na

Re: 7z command works fine on command line but not in script

2014-02-19 Thread berenger . morel
Le 19.02.2014 12:20, Andre Majorel a écrit : On 2014-02-19 09:47 +0100, berenger.mo...@neutralite.org wrote: Hello. I made a script to extract music from a jamendo archive, but for a reason I do not know, 7z does not accept the command line. I also echoed it, to be able to know what it tries

Re: 7z command works fine on command line but not in script

2014-02-19 Thread berenger . morel
Le 19.02.2014 10:53, Scott Ferguson a écrit : Just read your last post before sending this, so this may no longer be relevant... I don't know that you need to quote the variables. I use coloured bash so it is usually obvious if I need to. P.S. without the quotes you won't need the escapes - ju

Re: 7z command works fine on command line but not in script

2014-02-19 Thread Andre Majorel
On 2014-02-19 09:47 +0100, berenger.mo...@neutralite.org wrote: > Hello. > > I made a script to extract music from a jamendo archive, but for a > reason I do not know, 7z does not accept the command line. I also > echoed it, to be able to know what it tries to run, and it works > fine when ran on

Re: 7z command works fine on command line but not in script

2014-02-19 Thread Scott Ferguson
Just read your last post before sending this, so this may no longer be relevant... I don't know that you need to quote the variables. I use coloured bash so it is usually obvious if I need to. P.S. without the quotes you won't need the escapes - just quote the whole filename (which may be what you

Re: 7z command works fine on command line but not in script

2014-02-19 Thread berenger . morel
Le 19.02.2014 10:30, berenger.mo...@neutralite.org a écrit : Le 19.02.2014 09:53, Scott Ferguson a écrit : On 19/02/14 19:47, berenger.mo...@neutralite.org wrote: Hello. I made a script to extract music from a jamendo archive, but for a reason I do not know, 7z does not accept the command li

Re: 7z command works fine on command line but not in script

2014-02-19 Thread berenger . morel
Le 19.02.2014 09:53, Scott Ferguson a écrit : On 19/02/14 19:47, berenger.mo...@neutralite.org wrote: Hello. I made a script to extract music from a jamendo archive, but for a reason I do not know, 7z does not accept the command line. I also echoed it, to be able to know what it tries to run

Re: 7z command works fine on command line but not in script

2014-02-19 Thread Scott Ferguson
On 19/02/14 19:47, berenger.mo...@neutralite.org wrote: > Hello. > > I made a script to extract music from a jamendo archive, but for a > reason I do not know, 7z does not accept the command line. I also echoed > it, to be able to know what it tries to run, and it works fine when ran > on command

7z command works fine on command line but not in script

2014-02-19 Thread berenger . morel
Hello. I made a script to extract music from a jamendo archive, but for a reason I do not know, 7z does not accept the command line. I also echoed it, to be able to know what it tries to run, and it works fine when ran on command line. Here is the script: #!/bin/sh for i in *.zip; do