Xfennec / progress

Linux tool to show progress for cp, mv, dd, ... (formerly known as cv)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use .config file for default_proc_names

bartoszek opened this issue · comments

Instead of hard coding interesting proc names, we could have a config file /etc/progress.conf holding them.

progress/progress.c

Lines 60 to 68 in 092a650

char *default_proc_names[] = {"cp", "mv", "dd", "tar", "cat", "rsync",
"grep", "fgrep", "egrep", "cut", "sort", "md5sum", "sha1sum",
"sha224sum", "sha256sum", "sha384sum", "sha512sum", "adb",
"gzip", "gunzip", "bzip2", "bunzip2", "xz", "unxz", "lzma", "unlzma", "7z", "7za",
"zcat", "bzcat", "lzcat",
"split",
"gpg",
NULL
};

commented

Would be interested in this, as well as a ~/.config/progressrc or similar file.