On Thu, 30 Jan 2014 07:47:29 -0600
"Martin G. McCormick" wrote:
> David Precious writes:
> > change "system" to "print" to print out the command that would be
> > run,
>
> Great suggestion! I actually did try that using echo instead of
> print so that system was still involved and the values w
"Ron Bergin" writes:
> As has already been mentioned, part of the problem is your quoting.
>
> What is the value of $directories and more specifically, does it end with
> a forward slash? Personally, I prefer to leave off the trailing dir
> separator because IMO it makes it more clear later when
David Precious writes:
> change "system" to "print" to print out the command that would be run,
Great suggestion! I actually did try that using echo instead of
print so that system was still involved and the values were
correct. It looked beautiful.
> and (a) you'll likely see the problem, or (b)
Martin G. McCormick wrote:
> I have a perl script that I run as root which needs to
> move a file from where it is to another directory.
>
> I keep getting the "Usage" help message and a
> permission denied. If I su to root and manually make the move,
> it works.
>
> The perl scr
On Wed, Jan 29, 2014 at 2:10 PM, Martin G. McCormick <
mar...@server1.shellworld.net> wrote:
> I have a perl script that I run as root which needs to
> move a file from where it is to another directory.
>
> I keep getting the "Usage" help message and a
> permission denied. If I su
Is the directory you are moving to writable?
Sent from my iPad
> On Jan 29, 2014, at 4:10 PM, "Martin G. McCormick"
> wrote:
>
>I have a perl script that I run as root which needs to
> move a file from where it is to another directory.
>
>I keep getting the "Usage" help message and a
On Wed, 29 Jan 2014 16:10:25 -0600
"Martin G. McCormick" wrote:
> I keep getting the "Usage" help message and a
> permission denied. If I su to root and manually make the move,
> it works.
change "system" to "print" to print out the command that would be run,
and (a) you'll likely see the