[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exclude file list in tarsnaprc



Oops, looks like I was hasty.  I took the quotes off and 
it works, although I notice that adding a space at the 
end of a line stops the line from working.  I originally 
didn’t have quotes and added them when it didn’t work, 
so maybe the originals had spaces. 
Regards
--
William

On 27 Jun 2014, at 14:08, William Morris <wrm@hushmail.com> wrote:

> Hi
> 
> I am getting the hang of Tarsnap and would like to add 
> a list of files and directories to exclude to .tarsnaprc.
> However the list of excludes is not honoured.  I can add
> the same entries to the command line and exclusion works.
> 
> Here is my current file:
> 
> 	keyfile ~/.tarsnap.key
> 	cachedir ~/.tarsnap.cache/
> 	humanize-numbers
> 	nodump
> 
> 	# Print statistics when creating or deleting archives
> 	print-stats
> 
> 	# Create a checkpoint once per GB of uploaded data.
> 	checkpoint-bytes 1G
> 
> 	exclude "Build/" 
> 	exclude "XCode/"
> 	exclude "local/"
> 	exclude "*~" 
> 	exclude "*.o" 
> 	exclude "*.DS_Store" 
> 	exclude "*.dSYM"
> 
> The file is definitely being processed (adding an invalid 
> entry results in an error) but none of the exclusions works. 
> 
> I am using OS-X 10.9.3.
> 
> $ tarsnap --version
> tarsnap 1.0.35
> 
> Thanks for your help
> --
> William
> 
> 
>