in reply to Re: Delete all but the most recent backup file
in thread Delete all but the most recent backup file
This is referring to <DATA> in the code. (2) It appears the code does the deletion based on the date listed in the filename, while this is ideal I've done the previous coding based on the day modified only (using -M) and not the date on the filename so I would like to keep it this way. Any ideas on how I could modify this to the way I did it? Much appreciated for all answers, apologies I am not very good at perl however I do get the odd scripts here and there done when needed. Thanks again!Name "main::DATA" used only once: possible typo at bk_remove.pl line 7 +3. readline() on unopened filehandle DATA at bk_remove.pl line 73.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Delete all but the most recent backup file
by Kenosis (Priest) on Jan 27, 2013 at 23:12 UTC | |
by jagexCoder (Novice) on Jan 28, 2013 at 00:58 UTC | |
by Anonymous Monk on Jan 28, 2013 at 02:29 UTC | |
|
Re^3: Delete all but the most recent backup file
by soonix (Chancellor) on Jan 27, 2013 at 20:05 UTC |