Closed danipoak closed 4 years ago
@danipoak have you tried with just -s
instead of -ps
?
also, going by the usage instructions, the archive name should be at the very end of the command invocation.
also, going by the usage instructions, the archive name should be at the very end of the command invocation.
This was the solution. Kind of a "doh" moment. Thanks!
I've been using this script for several months now without hiccup. I'm not trying to add a couple of directories to the exclusion list but it's barking at me.
mkstage4 -ps /externaldrive/Gentoo_Stage4_Backups/Stage4_${today} -e /usr/share/texmf-dist -e /usr/share/texmf-site
and it spits back:tar: invalid option -- 'e'
I've also tried spelling out explicitly:tar: unrecognized option '--exclude /usr/share/texmf-dist --exclude /usr/share/texmf-site'
Based on the Readme though-e
is a valid option.