Re: OS X backup script

2016-08-09 Thread cb
If you are going to do a bash or shell script you can redirect the output to 
file to use as a log of what it is doing. Throw in a few echo lines to output 
your own comments so you can mark off different sections and you may get enough 
of a progress to satisfy your needs. Also if you use rsync instead of cp, that 
has the ability to output a lot more of its progress as it goes (anywhere from 
nothing, to listing what is is copying, to showing you how much of a given file 
it is copying has completed).

Again, redirect to file, or tee the output to both screen and file, and you can 
capture what it is doing as it goes.

-chris




On Aug 6, 2016, at 5:43 PM, Russell Courtenay wrote:

> The main thing is getting all the 'switches' right then getting it to show 
> some kind of progress output, I guess...
> 
> I'll check into that...
> 
> Russell Courtenay
> 
> Sent from my iPhone
> 
>> On Aug 5, 2016, at 11:12 PM, cb  wrote:
>> 
>> If you know how to do what you want in batch with xcopy you can probably 
>> work your way thru the same thing in OS X's terminal and write a Bash shell 
>> script to do the same thing. Use "cp" instead of xcopy, but the concept is 
>> really the same.
>> 
>> Once you can get a shell script working you can either set it to run 
>> automatically at some interval using Cron, or you can use AppleScript to 
>> issue a "do shell script" to run it (or Automator, or a few other options to 
>> either run shell commands or run an existing shell script that will allow 
>> you to wrap it into a double clickable icon).
>> 
>> 
>> -chris
>> 
>> 
>> 
>> 
>>> On Aug 6, 2016, at 1:04 AM, Russell Courtenay wrote:
>>> 
>>> I have been using Carbon Copy Cloner for years to make a bootable 
>>> (ostensibly) backup. Well, they seem to have changed their shareware setup 
>>> so after a certain amount of time it stops working. I just don't have 
>>> $39.95 to spend on software today so I figured I would write a script in 
>>> Automator. But I really don't know what I'm doing. My programming really 
>>> hasn't kept pace beyond Commodore Basic and machine language and Y2K web 
>>> pages.
>>> 
>>> I found some basic instructions online to make a scheduled backup but that 
>>> is not really what I want. I just want a button I can click every couple 
>>> days to copy every new file, delete files on the backup that I have deleted 
>>> on my hard drive and keep it bootable in case I need it.
>>> 
>>> Seems simple enough, has anyone here done this? 
>>> 
>>> On the wife's PC I just set up an xcopy batch file, simple and dirty. I 
>>> wish it would tell me what is happening over those two hours it is working, 
>>> but it does seem to work.
>>> 
>>> Russell Courtenay
>>> 
>>> Sent from my iPhone
>>> 
>>> -- 
>>> You received this message because you are a member of the iMac Group, a 
>>> group for those using Apple iMacs and eMacs.
>>> The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
>>> guide is at http://www.lowendmac.com/lists/netiquette.shtml
>>> To post to this group, send email to imaclist@googlegroups.com
>>> To leave this group, send email to imaclist+unsubscr...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/imaclist
>>> 
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "iMac Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to imaclist+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> You received this message because you are a member of the iMac Group, a 
>> group for those using Apple iMacs and eMacs.
>> The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
>> guide is at http://www.lowendmac.com/lists/netiquette.shtml
>> To post to this group, send email to imaclist@googlegroups.com
>> To leave this group, send email to imaclist+unsubscr...@googlegroups.com
>> For more options, visit this group at http://groups.google.com/group/imaclist
>> 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "iMac Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to imaclist+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are a member of the iMac Group, a group 
> for those using Apple iMacs and eMacs.
> The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
> guide is at http://www.lowendmac.com/lists/netiquette.shtml
> To post to this group, send email to imaclist@googlegroups.com
> To leave this group, send email to imaclist+unsubscr...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/imaclist
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "iMac Group" group.
> To unsubscribe from this gr

Re: OS X backup script

2016-08-09 Thread Russell Courtenay
Been 'working' so haven't had a chance to check, but I seem to remember reading 
that rsync was completely revised in OS X 10.11?

Russell Courtenay

Sent from my iPhone

> On Aug 9, 2016, at 8:50 AM, cb  wrote:
> 
> If you are going to do a bash or shell script you can redirect the output to 
> file to use as a log of what it is doing. Throw in a few echo lines to output 
> your own comments so you can mark off different sections and you may get 
> enough of a progress to satisfy your needs. Also if you use rsync instead of 
> cp, that has the ability to output a lot more of its progress as it goes 
> (anywhere from nothing, to listing what is is copying, to showing you how 
> much of a given file it is copying has completed).
> 
> Again, redirect to file, or tee the output to both screen and file, and you 
> can capture what it is doing as it goes.
> 
> -chris
> 
> 
> 
> 
>> On Aug 6, 2016, at 5:43 PM, Russell Courtenay wrote:
>> 
>> The main thing is getting all the 'switches' right then getting it to show 
>> some kind of progress output, I guess...
>> 
>> I'll check into that...
>> 
>> Russell Courtenay
>> 
>> Sent from my iPhone
>> 
>>> On Aug 5, 2016, at 11:12 PM, cb  wrote:
>>> 
>>> If you know how to do what you want in batch with xcopy you can probably 
>>> work your way thru the same thing in OS X's terminal and write a Bash shell 
>>> script to do the same thing. Use "cp" instead of xcopy, but the concept is 
>>> really the same.
>>> 
>>> Once you can get a shell script working you can either set it to run 
>>> automatically at some interval using Cron, or you can use AppleScript to 
>>> issue a "do shell script" to run it (or Automator, or a few other options 
>>> to either run shell commands or run an existing shell script that will 
>>> allow you to wrap it into a double clickable icon).
>>> 
>>> 
>>> -chris
>>> 
>>> 
>>> 
>>> 
 On Aug 6, 2016, at 1:04 AM, Russell Courtenay wrote:
 
 I have been using Carbon Copy Cloner for years to make a bootable 
 (ostensibly) backup. Well, they seem to have changed their shareware setup 
 so after a certain amount of time it stops working. I just don't have 
 $39.95 to spend on software today so I figured I would write a script in 
 Automator. But I really don't know what I'm doing. My programming really 
 hasn't kept pace beyond Commodore Basic and machine language and Y2K web 
 pages.
 
 I found some basic instructions online to make a scheduled backup but that 
 is not really what I want. I just want a button I can click every couple 
 days to copy every new file, delete files on the backup that I have 
 deleted on my hard drive and keep it bootable in case I need it.
 
 Seems simple enough, has anyone here done this? 
 
 On the wife's PC I just set up an xcopy batch file, simple and dirty. I 
 wish it would tell me what is happening over those two hours it is 
 working, but it does seem to work.
 
 Russell Courtenay
 
 Sent from my iPhone
 
 -- 
 You received this message because you are a member of the iMac Group, a 
 group for those using Apple iMacs and eMacs.
 The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
 guide is at http://www.lowendmac.com/lists/netiquette.shtml
 To post to this group, send email to imaclist@googlegroups.com
 To leave this group, send email to imaclist+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/imaclist
 
 --- 
 You received this message because you are subscribed to the Google Groups 
 "iMac Group" group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to imaclist+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
>>> 
>>> -- 
>>> You received this message because you are a member of the iMac Group, a 
>>> group for those using Apple iMacs and eMacs.
>>> The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
>>> guide is at http://www.lowendmac.com/lists/netiquette.shtml
>>> To post to this group, send email to imaclist@googlegroups.com
>>> To leave this group, send email to imaclist+unsubscr...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/imaclist
>>> 
>>> --- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "iMac Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to imaclist+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> You received this message because you are a member of the iMac Group, a 
>> group for those using Apple iMacs and eMacs.
>> The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
>> guide is at http://www.lowendmac.com/lists/netiquette.shtml
>> To pos

Re: OS X backup script

2016-08-09 Thread Bruce Johnson
Dunno but the rsync project page is here:

A  WEB site is available at http://rsync.samba.org/.  The site includes
   an FAQ-O-Matic which may cover  questions  unanswered  by  this  manual
   page.

This is from the man page in 10.11.



> On Aug 9, 2016, at 8:58 AM, Russell Courtenay  wrote:
> 
> Been 'working' so haven't had a chance to check, but I seem to remember 
> reading that rsync was completely revised in OS X 10.11?
> 
> Russell Courtenay
> 
> Sent from my iPhone
> 
>> On Aug 9, 2016, at 8:50 AM, cb  wrote:
>> 
>> If you are going to do a bash or shell script you can redirect the output to 
>> file to use as a log of what it is doing. Throw in a few echo lines to 
>> output your own comments so you can mark off different sections and you may 
>> get enough of a progress to satisfy your needs. Also if you use rsync 
>> instead of cp, that has the ability to output a lot more of its progress as 
>> it goes (anywhere from nothing, to listing what is is copying, to showing 
>> you how much of a given file it is copying has completed).
>> 
>> Again, redirect to file, or tee the output to both screen and file, and you 
>> can capture what it is doing as it goes.
>> 
>> -chris
>> 
>> 
>> 
>> 
>>> On Aug 6, 2016, at 5:43 PM, Russell Courtenay wrote:
>>> 
>>> The main thing is getting all the 'switches' right then getting it to show 
>>> some kind of progress output, I guess...
>>> 
>>> I'll check into that...
>>> 
>>> Russell Courtenay
>>> 
>>> Sent from my iPhone
>>> 
 On Aug 5, 2016, at 11:12 PM, cb  wrote:
 
 If you know how to do what you want in batch with xcopy you can probably 
 work your way thru the same thing in OS X's terminal and write a Bash 
 shell script to do the same thing. Use "cp" instead of xcopy, but the 
 concept is really the same.
 
 Once you can get a shell script working you can either set it to run 
 automatically at some interval using Cron, or you can use AppleScript to 
 issue a "do shell script" to run it (or Automator, or a few other options 
 to either run shell commands or run an existing shell script that will 
 allow you to wrap it into a double clickable icon).
 
 
 -chris
 
 
 
 
> On Aug 6, 2016, at 1:04 AM, Russell Courtenay wrote:
> 
> I have been using Carbon Copy Cloner for years to make a bootable 
> (ostensibly) backup. Well, they seem to have changed their shareware 
> setup so after a certain amount of time it stops working. I just don't 
> have $39.95 to spend on software today so I figured I would write a 
> script in Automator. But I really don't know what I'm doing. My 
> programming really hasn't kept pace beyond Commodore Basic and machine 
> language and Y2K web pages.
> 
> I found some basic instructions online to make a scheduled backup but 
> that is not really what I want. I just want a button I can click every 
> couple days to copy every new file, delete files on the backup that I 
> have deleted on my hard drive and keep it bootable in case I need it.
> 
> Seems simple enough, has anyone here done this? 
> 
> On the wife's PC I just set up an xcopy batch file, simple and dirty. I 
> wish it would tell me what is happening over those two hours it is 
> working, but it does seem to work.
> 
> Russell Courtenay
> 
> Sent from my iPhone
> 
> -- 
> You received this message because you are a member of the iMac Group, a 
> group for those using Apple iMacs and eMacs.
> The list FAQ is at http://lowendmac.com/imac/list.shtml and our 
> netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml
> To post to this group, send email to imaclist@googlegroups.com
> To leave this group, send email to imaclist+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/imaclist
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "iMac Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to imaclist+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
 
 -- 
 You received this message because you are a member of the iMac Group, a 
 group for those using Apple iMacs and eMacs.
 The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
 guide is at http://www.lowendmac.com/lists/netiquette.shtml
 To post to this group, send email to imaclist@googlegroups.com
 To leave this group, send email to imaclist+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/imaclist
 
 --- 
 You received this message because you are subscribed to the Google Groups 
 "iMac Group" group.
 To unsubscribe from this group and stop receiving ema

Re: Free OS reimplementations (Re: OS X backup script)

2016-08-09 Thread GMail Valter Psicof
Il giorno 07/08/16 06.54, "Russell Courtenay" ha scritto:

> I frankly donĀ¹t understand why the 2.66 GHz Core 2 Duo with 2 gigs
> of RAM in my iMac is so slow sometimes on a modern OS
Most likely the culprit is your "measly" 2 GB of memory.
My iMac is similar to yours, but with 4 GB it almost never slows down.

You can easily check with Activity Monitor: in the System Memory tab, if
"Pages out" is more than some MB (after you've been using the Mac), then
your memory is not enough.



-- 
You received this message because you are a member of the iMac Group, a group 
for those using Apple iMacs and eMacs.
The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to imaclist@googlegroups.com
To leave this group, send email to imaclist+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/imaclist

--- 
You received this message because you are subscribed to the Google Groups "iMac 
Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to imaclist+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.