Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Show files that Time Machine does not backup' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Show files that Time Machine does not backup
Authored by: JackSloth on Apr 04, '08 10:06:11AM

Here is my twist on the script. I just added a dialog to inform the user.

display dialog "This application will create a text file with a list of things that are not backed up in Time Machine. It will not include those items you specified in Time Machine's options to exclude. Your administrative password is required in order to perform the search." buttons {"Cancel", "Continue"} default button 2
if the button returned of the result is "Cancel" then
-- action for 1st button goes here
quit application
-- action for 2nd button goes here

end if

set myItems to do shell script "mdfind \"com_apple_backup_excludeItem = ''\" > ~/Desktop/Files_excluded_by_Time_Machine.txt" with administrator privileges

[ Reply to This | # ]