The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniWeb General (http://forums.omnigroup.com/forumdisplay.php?f=8)
-   -   Modifying date of downloaded files (http://forums.omnigroup.com/showthread.php?t=2994)

dtruett1 2007-03-06 04:31 AM

Modifying date of downloaded files
 
In the release notes, it states, "Modified date of downloaded files can now reflect when it was downloaded, controlled by the OWDownloadsKeepOriginalDate preference, which defaults to false."
I would VERY much like to do this. Where can I set this? I tried OW Prefs-nothing there. I opened OmniWeb 5 Bookmarks.http with Text Edit and couldn't find it. I opened com.omnigroup.OmniWeb5.plist to no avail.
How can I set this? Thanks.

JKT 2007-03-06 10:43 AM

The reason you can't find it is probably because it hasn't been modified at all to create it. You probably need to enter in Terminal (the application):

[code]defaults write com.omnigroup.OmniWeb5 OWDownloadsKeepOriginalDate -bool True[/code]

Forrest 2007-03-06 11:10 AM

You need to quit OW before you do that. Then relaunch when done.

dtruett1 2007-03-06 01:52 PM

I haven't gotten into Terminal yet, although despite that I'm fairly tech-literate. Just type it in at the prompt, exactly as in the post, including a space?
Of course I'll do a complete backup first. Thanks for the advice.

[QUOTE=Forrest]You need to quit OW before you do that. Then relaunch when done.[/QUOTE]

JKT 2007-03-06 02:05 PM

Personally, I would copy and paste - that way you won't introduce any typos (unless I've made them myself ;) ...btw, I have just copy/pasted the "OWDownloadsKeepOriginalDate" from your original post so I would double check that this is completely correct first).

So: 1. Check that entry is correct. 2. Copy/paste to a terminal window and press enter to perform the action. 3. Relaunch OmniWeb and test whether or not it is working.

troyb 2007-03-06 03:59 PM

OWDownloadsKeepOriginalDate is correct as is the string above. Pasting it into a terminal window should do the trick.

Also, the file you're editing by doing this is here:

~/Library/Preferences/com.omnigroup.OmniWeb5.plist

dtruett1 2007-03-07 03:27 AM

I'm backing up my boot drive now. Interesting that when I open that .plist I can't find the string, as the release notes state, "OWDownloadsKeepOriginalDate preference, which defaults to false" I would thus expect to find that string with false, but there is no such string. I'll try it tonight. Thanks.


[QUOTE=troyb]OWDownloadsKeepOriginalDate is correct as is the string above. Pasting it into a terminal window should do the trick.

Also, the file you're editing by doing this is here:

~/Library/Preferences/com.omnigroup.OmniWeb5.plist[/QUOTE]

troyb 2007-03-07 01:31 PM

The behavior defaults to False internally. You can override the setting by adding a true value to the preference file.

dtruett1 2007-03-07 03:46 PM

I'm going to try it through Terminal tonight. When I open the ~/Library/Preferences/com.omnigroup.OmniWeb5.plist (where ~ is my user folder, and do a search for that text string, it isn't there. I just thought I would see the string and could substitute true for false. Wish me luck.

[QUOTE=troyb]The behavior defaults to False internally. You can override the setting by adding a true value to the preference file.[/QUOTE]

dtruett1 2007-03-08 04:34 AM

Didn't Work
 
Went into Terminal and did the above. Restarted twice. Tried downloading a PDF this morning, and the modification date is two months ago. Sigh.


All times are GMT -8. The time now is 06:01 PM.

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