http://www.perlmonks.org?node_id=1002720


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 (Vicar) 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.