Commit graph

109 commits

Author SHA1 Message Date
Horea Christian
f6538b40d6 Instructions and writing style update 2020-02-05 05:02:12 +01: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
085a9ada3c Updated dependency comments 2019-11-03 21:17:17 +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
44e700f71d Clarified distribution 2019-08-02 17:28:43 +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
Horea Christian
eaf4ad068f New email and grammar 2019-04-27 00:20:33 +02:00
Horea Christian
8d60d8dba0 typo 2019-03-18 15:53:49 +01: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
Horea Christian
f029e83586
Merge pull request #14 from brendanhoran/master
exclude /var/lib/docker , causes issues on unpack
2018-07-17 20:19:15 +02:00
Brendan Horan
f7bf41c088 exclude /var/lib/docker , causes issues on unpack 2018-07-10 21:36:10 +08:00
Horea Christian
7278272852
Merge pull request #13 from brendanhoran/master
Update tar cmd line options
2018-07-08 16:49:52 +02:00
Brendan Horan
d03ec6fcb8 Update tar cmd line options 2018-07-08 15:28:55 +08:00
Horea Christian
4b9460fb2a
Merge pull request #12 from liu-kan/master
add -k option to allow user separately saving current kernel modules and src
2018-05-24 16:00:10 +02:00
liu-kan
fe674454fd
Update README.md 2018-05-24 11:36:36 +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
Horea Christian
a026ef0045 Merge pull request #10 from tomslobodnik/master
fix TARGET path handling
2017-03-22 17:56:13 +01:00
Tomas Slobodnik
3f1334cbf3 fix TARGET path handling 2017-03-22 17:17:24 +01:00
Horea Christian
8eec290f00 updated markdown syntax 2017-03-22 16:01:02 +01:00
Horea Christian
6744db0df0 using reported command line string for actual command as well 2017-01-11 23:53:18 +01:00
Horea Christian
9dd869c6d2 Merge pull request #9 from sylvchev/new_prefix
Using prefix via tar, no longer needing cd.
2017-01-11 23:35:54 +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
Horea Christian
9a96781235 Merge pull request #6 from sylvchev/exclude-opts
Changing tar command
2017-01-02 02:45:15 +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
Horea Christian
dd53ca5cb5 Added info on new/changed arguments 2016-02-23 06:38:51 +01:00
Horea Christian
1b0e4d3c20 Merge pull request #5 from dave-kennedy/master
shortened output notification, optionally excluding /lost+found
2016-02-19 23:32:46 +01:00
Dave Kennedy
cf770db449 Updated readme 2016-02-19 13:23:40 -07: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
Horea Christian
1d6feff327 Merge pull request #4 from dave-kennedy/master
Bug fixes and minor formatting changes
2016-01-27 09:55:20 +01: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
04c5acbc7a syntax 2015-10-13 16:51:27 +02:00
Horea Christian
3e52d27997 typo 2014-09-20 11:27:02 +02:00
Horea Christian
59f0328754 formatting 2014-09-18 08:25:24 +02:00