Dotpac

From ArchWiki
Revision as of 11:18, 2 May 2012 by Kynikos (Talk | contribs) (typo)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: This article is written primarily in the first person (Discuss in Talk:Dotpac#)

dotpac helps you get rid of /{boot,etc}/*.pac* files

Contributed by Jaroslaw Swierczynski <swiergot@juvepoland.com>


I wrote this simple script to speed up dealing with .pacnew and .pacsave files in my /etc directory. I was tired of doing it manually almost every day (find, diff, vi, mv, rm, again and again) and it was easy to make a mistake.

Additionally, it may be even more helpful for newbies who do not know where these files came from as it explains why pacman creates them.

All you need to do is to run dotpac (sorry, I didn't have time to think up a better name) and go through a few dialogs. Don't worry, dotpac will not do anything without your explicit command. Also please note that it doesn't offer automagic merging *.pac* files with their working equivalents.

Opinions, suggestions, ideas, bug reports are welcome.