in reply to Re^4: Read in hostfile, modify, output
in thread Read in hostfile, modify, output
This thread doesn't get into journaling filesystems. The vast majority of folks here are using standard versions of Windows or Unix variants.C:\Projects_Perl\testing>echo "this is orginial file" > originalfile.t +xt C:\Projects_Perl\testing>echo "this the new file" > newfile.txt C:\Projects_Perl\testing>rename newfile.txt originalfile.txt A duplicate file name exists, or the file cannot be found. C:\Projects_Perl\testing>rename originalfile.txt originalfile.bak C:\Projects_Perl\testing>rename newfile.txt originalfile.txt C:\Projects_Perl\testing>type originalfile.txt "this the new file" C:\Projects_Perl\testing>
I am aware of the issues you describe, but we are getting into very specialized things with that discussion. I think launching an OS specific rename command with "override" options is also beyond the scope here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Read in hostfile, modify, output
by eyepopslikeamosquito (Archbishop) on Dec 21, 2016 at 19:19 UTC | |
by Marshall (Canon) on Dec 22, 2016 at 20:25 UTC | |
by eyepopslikeamosquito (Archbishop) on Dec 23, 2016 at 23:04 UTC | |
|
Re^6: Read in hostfile, modify, output
by Anonymous Monk on Dec 21, 2016 at 01:13 UTC | |
by Marshall (Canon) on Dec 21, 2016 at 01:27 UTC | |
by Anonymous Monk on Dec 21, 2016 at 01:53 UTC | |
by AnomalousMonk (Archbishop) on Dec 21, 2016 at 20:06 UTC | |
by Marshall (Canon) on Dec 21, 2016 at 03:09 UTC | |
|
Re^6: Read in hostfile, modify, output
by Anonymous Monk on Dec 21, 2016 at 10:27 UTC |