PATCH: New implementation of rlFileSave and rlFileRestore functions.
by Robin Hack
Hello.
I wrote patch for beakerlib which reimplements rlFileBackup and
rlFileRestore functions.
New functions use tar instead cp.
This patch is more intrusive.
New rlFileSave is able to:
- backup files with less lines of code (attributions preservation is
delegated to tar)
New rlFileRestore is able to:
- log names of new created files/directories in backuped directory
- remove new created files/direcroties in backuped directory
Performance impacts is unknown for now.
It's first version. Needs heavy testing and review of more bash-skilled
dudes .
Patch works on 379b446edcc3d1077041e3916d7a7887cfdf0937 git commit.
Have nice day.
Robin Hack
10 years, 12 months