Shirt Pocket Discussions

Shirt Pocket Discussions (https://www.shirt-pocket.com/forums/index.php)
-   General (https://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   Feature Request (https://www.shirt-pocket.com/forums/showthread.php?t=1741)

Cheezr 10-27-2006 08:45 PM

Feature Request
 
Not sure if this is already possible but:

I have an ext drive with 4 partitions and every week i SD my Mac into one of those partitions, sequentially. Problem is that sometimes i forget which one i used last..
is there a way or could there be a way to save the log file with a user defined name onto the target partition?
that way, when i look at the partitions i immediately can see a text file named "SD Backup 27Oct06" or whatever.

what do you think?

Czr

dnanian 10-27-2006 10:45 PM

Not really, but you could use a post-copy shell script to "touch" a file on the drive that could help you figure things out.

Cheezr 10-29-2006 01:15 AM

Thanks for the reply Dave,

I would really like to "leave a receipt" on the target drive after a backup. I think that a simple script to copy the logfile to the target would do it.

do you think it would be difficult to write such a script, i am willing to try but not sure how to get the <target> path.

Also, I poked around but was not able to find the log file, can you tell me where it is kept?

tx
CZR

Pendragon 10-29-2006 07:55 AM

FWIW:

I solved that issue (well, really a work around) by:
Creating a custom icon for my source drive. Then, each time SD! copies the source to the target volume, the custom icon is also copied. Thus, when I next log on, I have a visual cue that a copy has been made, e.g., a second volume that looks identical to the source.

Of course, I then remove (2 clicks) the custom icon from the target so that it is ready for the next SD! copy.

dnanian 10-29-2006 09:03 AM

The "target" path is one of the parameters passed to the script ($4, as I recall)... these are documented in the User's Guide.

Note, though -- the log isn't usually written until the backup is done. So you can't really copy the log. Instead, as I said, just touch a receipt file with the date/time: that should work for you!

Timmy 02-07-2007 05:35 PM

Quote:

Originally Posted by dnanian (Post 9131)
just touch a receipt file with the date/time: that should work for you!

Is there a way to have the date/time as the file name of the 'receipt'?

Anyone care to walk me through this...?


All times are GMT -4. The time now is 03:19 AM.

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