To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=18903
------- Additional comments from [EMAIL PROTECTED] Tue Oct 18 06:09:50 -0700 2005 ------- I've build a python script that, at least, sets the filesystem date/time, I post here for some other user's convenience, but should be done automatically by the wizard, so please fix it: #!/usr/bin/env python """ walks through the directory tree specified and when it founds a file of Microsoft Office format or StarOffice format that has an equivalent in the OpenDocument format, set's the latter timestamp the same as the former. This is useful after running the "OpenOffice.org conversion wizard" that unfortunately sets the timestamp of the converted files to the current date/time (loosing this useful information) Copyright (c) by Paolo Veronelli [EMAIL PROTECTED] Marco Menardi [EMAIL PROTECTED] Todo : selectable od<x> to synchronize from command line This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. """ __version__="0.1" ##### hack this dict to add supports exts={'.doc':'.odt', # Word, Write '.xls':'.ods', # Excel, Calc '.ppt':'.odp', # PowerPoint, Impress '.pps':'.odp', # PowerPoint, Impress (different extension) '.sxw':'.odt', # Write 1.0 '.sxc':'.ods', # Calc 1.0 '.sxd':'.odp', # Impress 1.0 '.sdw':'.odt', # StarWrite 1.0 '.sdc':'.ods', # StarCalc 1.0 '.sdd':'.odp', # StarImpress 1.0 '.sdp':'.odp', # StarImpress 1.0 (different extension) } import glob, os, stat,sys,optparse usage=''' python odxtssynch.py <directory> \tPerform synchronization on modification times of open office wizard converted \tfiles %s recursively on <directory>.Default to current directory. '''%str(exts.keys()) parser = optparse.OptionParser(usage = usage) parser.add_option("-n", "--nonrecurse", dest="nonrecurse", action="store_false", default=True, help="don't recurse down target directory") options,args = parser.parse_args() if not len(args): # default to '.' basedir='.' elif len(args) == 1: # the target directory basedir = args[0] else: parser.print_help() sys.exit(1) for root, dirs, files in os.walk(basedir): for name in files: base, ext = os.path.splitext(name) if (ext in exts) or (ext.lower() in exts): target = os.path.join(root, base + exts[ext.lower()]) # conversion wizard always creates lowercase ex$ if os.path.exists(target): time = os.stat(os.path.join(root, name))[stat.ST_MTIME] os.utime(target, (time, time)) if not options.nonrecurse: break --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]