[Leaplist] rsync shell script for mac

Kevin Korb kmk at sanitarium.net
Wed Feb 24 12:34:05 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hint: --exclude-from=file.txt


On 02/24/10 11:58, Kevin Inscoe wrote:
> Here are my excludes:
> 
> -apztlvx --exclude="private/tmp/*"
> --exclude="Users/kevin/Library/Caches/*" --exclude="private/var/run/*"
> --exclude="Library/Google/Google Desktop/Index/*"
> --exclude="Library/Application Support/LANDesk/*"
> --exclude="Library/Caches/*" --exclude="private/tmp/*"
> --exclude="usr/local/vscanx/*" --exclude=".fseventsd/*"
> --exclude=".Spotlight-V100/*" --exclude="Library/Logs/CrashReporter/*"
> --exclude="/Users/kevin/Library/Application Support/Google/Google
> Desktop/Index/*" --exclude="/proc/*" --exclude="/dev/*"
> --exclude="/tmp/*" --stats --delete
> 
> but keep in mind this is a recovery backup and not a user files backup.
> 
> On Wed, Feb 24, 2010 at 9:37 AM, Tom Foster <tf at linuxceptional.com> wrote:
>> Hey guys,
>>
>> My sister was just complaining the other day that it would be tragic
>> if any of the work she had done with her mac was lost.  I managed to
>> find the terminal program, and used rsync to save files to an external
>> drive.
>>
>> So I have two or three questions.  What are mac osx files that should be
>> excluded (put into an "exclude.txt")?  Also, what should a shell
>> script for a mac look like?  Where is bash? is there a "~/bin/"
>> equivalent?
>>
>> I'd also like to have a link to the script on the desktop and/or have
>> it called by cron.  Mac does have cron, doesn't it?
>>
>> thanks.
>>
>> --
>> signature riding a horse: "clopclopclopclop"
>> -tom
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> _______________________________________________
>> Leaplist mailing list
>> Leaplist at leap-cf.org
>> http://lists.leap-cf.org/mailman/listinfo/leaplist
>>
> 
> 
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuFYw0ACgkQVKC1jlbQAQcPzgCeM+qFyVSUYoZl/dBCb1QTnUll
jvsAoLjKk2MUnbu/dJniKhWQeLuCrhFp
=8liK
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list