in reply to Re^2: Rename all files on remote server to *.bak recursively
in thread Rename all files on remote server to *.bak recursively
Does the command work when you first print it out and then run it manually in the shell?
I guess the problem results from me using both, single quotes and quotemeta when constructing the command line.
Maybe you can make sure that no filename contains a backslash or a single quote. Then you can eliminate both calls to quotemeta and replace them by $_ directly.
Note that your problem has nothing to do with Perl anymore and is only a matter of constructing the correct shell statement now.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Rename all files on remote server to *.bak recursively
by nancylt723 (Initiate) on Jun 09, 2014 at 12:35 UTC | |
by salva (Canon) on Jun 09, 2014 at 12:48 UTC | |
by nancylt723 (Initiate) on Jun 09, 2014 at 15:25 UTC |