Horea Christian
1ab7c072d5
Less ambiguous array assignment
2023-03-12 01:30:55 -05:00
Horea Christian
12f4506a18
Better parameter ordering
2023-01-02 20:19:40 -05:00
Horea Christian
3891a608ff
Fixed help text and better explained compression parameters
2023-01-02 20:14:46 -05:00
Horea Christian
d30ac26a8c
Updated shebang
2022-12-15 17:41:36 -05:00
Horea Christian
999415bda6
Homogenized quotation marks
2022-09-12 12:29:48 -04:00
Horea Christian
e0220d9b61
Removed comments
2022-09-12 12:27:22 -04:00
Horea Christian
8099ec1c8b
Fixed up fix
2022-09-12 12:11:20 -04:00
Runney Wu
d8b979bee1
Use star mark to expand COMP_OPTIONS ( #44 )
...
Closes: 46
2022-09-12 12:04:31 -04:00
Horea Christian
df3d89d5a2
Disabled broken feature
2022-09-12 09:11:35 -04:00
Horea Christian
f7655ed21d
Single quotes to fix bug reported outside of issue tracker
2022-09-12 06:25:03 -04:00
Horea Christian
ddc9d74901
Wrap use-compres-prog in quotation marks
2021-10-12 18:35:14 -04:00
Horea Christian
783e7ea52a
Updated file format and exec name as per:
...
https://github.com/TheChymera/mkstage4/issues/41#issuecomment-735435551
2020-11-29 17:12:29 -05:00
Horea Christian
351c9fe682
Updated file format as per
...
https://github.com/TheChymera/mkstage4/issues/41
2020-11-14 21:41:04 -05:00
Horea Christian
bc4d5e7320
Improved -k parameter documentation
2020-08-31 19:46:24 -04:00
Mark Gomersbach
df1827410b
Add compression types and multithread if possible. ( #39 )
...
* Add compression types and multithread if possible.
Signed-off-by: Mark Gomersbach <markgomersbach@gmail.com>
* Bump shell-linter version
Signed-off-by: Mark Gomersbach <markgomersbach@gmail.com>
2020-04-17 04:43:11 -04:00
lucianposton
8c61bd4395
Add -i option to include files prior to exclusion ( #30 )
2020-04-02 22:10:09 -04:00
lucianposton
afa8c072c9
Misc wordsplitting/globbing changes ( #32 )
...
-Add quotes to prevent word splitting
-Remove $TARGET* globbing so hidden files are included
-Remove unused globbing
Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-03-24 22:46:32 -04:00
lucianposton
8ab90fa6b0
Merge confidential file excludes into single -c option ( #28 )
...
Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-03-24 22:43:25 -04:00
lucianposton
c6267f9c23
Fix indentation whitespacee ( #29 )
...
Signed-off-by: Lucian Poston <lucianposton@pm.me>
2020-02-05 04:45:04 +01:00
Tatsh
33ed7b3166
Bug fix for when no tar options are passed ( #24 )
...
Make tabs more consistent
Remove unnecessary quotes
Simplify boolean checks
Quote strings for clarity
Search lib*/modules/* for modules to remain compatibile with < profile 17.1 systems
Remove unnecessary escape to grep RE
2019-11-07 07:11:16 +01:00
Horea Christian
5f0fdb96b8
Tabs not spaces
2019-11-03 21:13:54 +01:00
Tatsh
52fe0c0326
Clean up based on Shellcheck recommendations ( #23 )
...
Use arrays for lists of items
Do not use legacy backticks
2019-11-03 18:25:01 +01:00
Walter Hüttenmeyer
d4ded4bd5f
add new portage paths with optional portageq logic ( #18 )
...
* add new portage paths
added /var/db/repos/gentoo and /var/cache/distfiles to hard-coded list of excludes.
Portage has moved (when?) according to https://wiki.gentoo.org/wiki//usr/portage
* Added portageq logic
Added portageq logic to detect where portage stores its tree and distfiles.
If this fails, fall back to a default list declared in EXCLUDES_DEFAULT_PORTAGE
2019-08-05 14:18:24 +02:00
Horea Christian
8dfbdc41f9
Improved getopts usage
...
As suggested by Walter Hüttenmeyer.
2019-05-16 18:29:07 +02:00
Horea Christian
bc637d61d1
Removed whitespace
2019-05-08 22:16:42 +02:00
liu-kan
b75b9f7715
Try to compress parallelly ( #15 )
...
* Add -p flag for parallel compressing. The script will test if pbzip2 is install, before using it for parallel compressing.
* Update README.md
* Update README.md
2018-12-14 21:53:19 +01:00
Brendan Horan
f7bf41c088
exclude /var/lib/docker , causes issues on unpack
2018-07-10 21:36:10 +08:00
Brendan Horan
d03ec6fcb8
Update tar cmd line options
2018-07-08 15:28:55 +08:00
Kan Liu
bbf898d45e
fix -k bug
2018-05-11 12:27:22 +08:00
Kan Liu
bdcafb5b0e
-k: separately save current kernel moudules and src (smaller). + -e: an additional excludes directory (one dir one -e).
2018-05-11 11:13:12 +08:00
Tomas Slobodnik
3f1334cbf3
fix TARGET path handling
2017-03-22 17:17:24 +01:00
Horea Christian
6744db0df0
using reported command line string for actual command as well
2017-01-11 23:53:18 +01:00
Sylvain Chevallier
d1372b0230
prefixing exclude directories
2017-01-11 16:30:27 +01:00
Sylvain Chevallier
0e042e7523
excludes after files
2017-01-11 16:27:48 +01:00
Horea Christian
59de6ab57f
correctly previewing the command
2017-01-05 00:25:24 +01:00
Horea Christian
3ee72e46fc
using -f parameter to actually signal archive name
2017-01-05 00:15:41 +01:00
Sylvain Chevallier
acb126db03
changing options order
2017-01-02 02:24:03 +01:00
Horea Christian
9e6236e1c7
added .bash_histrory exclusion for all users
2016-02-23 06:57:46 +01:00
Dave Kennedy
3004a76ff2
Make options consistent
2016-02-19 13:15:25 -07:00
Dave Kennedy
4bdf2a8df5
Added option to include lost+found directory
2016-02-17 22:45:51 -07:00
Dave Kennedy
9b160a089e
Consider it tested
2016-02-10 23:55:30 -07:00
Dave Kennedy
721a2f2bef
Exclude files under directory, not directory itself
2016-02-10 23:52:59 -07:00
Dave Kennedy
e070cc84e9
Added help option
2016-02-10 23:51:15 -07:00
Dave Kennedy
5913503be2
Don't run without a target
2016-02-10 23:46:25 -07:00
Dave Kennedy
926ffa1d34
Fixed -b
2016-02-10 23:39:12 -07:00
Dave Kennedy
4fd4a61ad5
Only one of these checks is necessary
2016-01-26 16:16:58 -07:00
Dave Kennedy
c3b036fbd2
Fixed #2 and alphabetized paths
2016-01-26 16:15:40 -07:00
Dave Kennedy
03e0134644
Fixed #3
2016-01-26 16:15:28 -07:00
Horea Christian
90c3ba5d84
updated the prompt message
2014-05-21 01:21:51 +02:00
Horea Christian
b82a5c8a5f
fixed connman exclude typo. Now proper exclusion of network files for connman
2014-05-20 09:08:59 +02:00