Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-25-2005, 09:58 PM
ScottEllsworth ScottEllsworth is offline
Registered User
 
Join Date: May 2005
Posts: 12
Getting the copy results in a script

Hi, all.

I want to build a nightly backup script that mounts my firewire drive, does a sync, and then dismounts the drive. Finally, I want it to tell me how much work it did, or report any errors.

From other forum posts, I see how to do everything but report the status of the sync.

At the end of the log, one sees

|05:50:30 PM|Info| Scanned 972350 items occupying 67.44 GB (133183 directories, 832366 files, 6801 symlinks)
|05:50:30 PM|Info| Copied 972241 items totaling 67.37 GB (133162 directories, 832282 files, 6797 symlinks)
|05:50:30 PM|Info| Cloned 67.37 GB of data in 3854 seconds at an effective transfer rate of 17.90 MB/s

Anyone know a clever way to get that data into an email? My current plan is some ick involving grep, cut, and tail on the log file, but that is not elegant.

Scott
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to copy only certain files nakris General 2 04-14-2005 05:16 PM
Smart Backup Error bill s General 20 02-04-2005 09:46 AM
My copy script says SuperDuper! should ignore a folder, but it's copied. Why? dnanian Frequently Asked Questions 0 12-24-2004 02:42 PM
ASR Image freeze PeterBest General 5 12-01-2004 09:02 AM
When I try to copy a single directory, I end up copying the whole disk. Why? dnanian Frequently Asked Questions 0 06-22-2004 06:59 PM


All times are GMT -4. The time now is 03:31 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.