#84 Better backup handling

クローズ
7 ヶ月 前nuclearkev によって開かれました · 0 コメント
Kevin "The Nuclear" Bloom7 ヶ月 前 にコメントしました

While adding ait to pkgsrc I noticed that the way the backup stuff is done is pretty bad when installed system-wide not via the source itself. This is because there is only 1 possible backup directory and no way to change it. I may add a way to change the location of the backup directory via a command line option such as:

$ ait --backup-dir /home/kev/.backups
# ait --backup-dir /home/root/.backups

I really want to stay away from a config file and this is one way to avoid it. Plus, you could always make an alias if you don't want to do it all the time. Or maybe there can be a default in the source or something.

While adding `ait` to [pkgsrc](https://pkgsrc.org) I noticed that the way the backup stuff is done is pretty bad when installed system-wide not via the source itself. This is because there is only 1 possible backup directory and no way to change it. I may add a way to change the location of the backup directory via a command line option such as: ``` $ ait --backup-dir /home/kev/.backups # ait --backup-dir /home/root/.backups ``` I really want to stay away from a config file and this is one way to avoid it. Plus, you could always make an alias if you don't want to do it all the time. Or maybe there can be a default in the source or something.
Kevin "The Nuclear" Bloom この課題がコミット 7 ヶ月 前 から参照されました
nuclearkev 7 ヶ月 前 に閉じられました
会話に参加するには サインイン してください。
読み込み中…
キャンセル
保存
まだコンテンツがありません