Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: copying a file with .bak extension

by Anonymous Monk
on Nov 07, 2012 at 19:20 UTC ( #1002720=note: print w/replies, xml ) Need Help??

in reply to Re: copying a file with .bak extension
in thread [SOLVED] copying a file with .bak extension

Script works great thanks a lot! Is it possible to have the backup get modified instead of the original? Only the original gets the modification. Thanks again.

  • Comment on Re^2: copying a file with .bak extension

Replies are listed 'Best First'.
Re^3: copying a file with .bak extension
by Lotus1 (Curate) on Nov 07, 2012 at 19:46 UTC

    You could use kennethk's updated solution but open the newly created backup in append mode instead of the original.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002720]
[Tux]: So is mine, and this message proves that
[choroba]: My talk is on youtube!
[Tux]: (ambiguous) My pm-cb-g still works ok
[choroba]: I'll add an option to specify which url to connect to
choroba talking from pm-cb-g at the moment

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-10-24 11:08 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (288 votes). Check out past polls.