xmanamit has asked for the wisdom of the Perl Monks concerning the following question:
I was trying to mv a file in unix in the following way:
But this doesn't work, if I try it in the same dir i.e. renaming the file it works. I could move the file using File::copy module but couldn't understand why this doesn't work. Any comments about this ?? Thanks, Amitsystem("mv $file_name $different_path/$file_name");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unix mv command
by clinton (Priest) on Jun 15, 2007 at 11:09 UTC | |
|
Re: unix mv command
by derby (Abbot) on Jun 15, 2007 at 12:40 UTC | |
|
Re: unix mv command
by japhy (Canon) on Jun 15, 2007 at 11:04 UTC | |
by xmanamit (Initiate) on Jun 15, 2007 at 12:09 UTC | |
by clinton (Priest) on Jun 15, 2007 at 12:26 UTC | |
by blazar (Canon) on Jun 16, 2007 at 12:05 UTC | |
|
Re: unix mv command
by mantra2006 (Hermit) on Jun 15, 2007 at 12:38 UTC | |
|
Re: unix mv command
by sago (Scribe) on Jun 15, 2007 at 11:52 UTC |