Backups to keep
How many backups of each file to keep (used when backup is on). After a run writes a backup, older YADF backups of that same file beyond the newest N are deleted. 0 = keep all.
Which backups count
Only backups YADF names for that exact file are ever deleted:
- Next to the source:
<name>.BCK<N>(N has no leading zero). - In a backup folder (
--b <folder>):<name>.<hhhhhhhh>.<yyyymmdd-hhnnss>[-n].bak. The eight hex digits identify the source folder, soA\Unit1.pasandB\Unit1.passharing one backup folder keep separate backups and never prune each other. - Older backups in a folder without the hex digits (
Unit1.pas.<stamp>.bak, written before this naming) have an ambiguous owner and are never deleted; remove them by hand.
Related
- Backup before overwrite - Create a backup of every file before overwriting it, and of an edited preview sample (Sample.pas.bak) before a newer YADF replaces it.
- Backup directory - Directory for backups (used when backup is on). Empty = next to the original file.
- Result directory - Directory for formatted output. Empty = format in place.