Re: renaming files in OS X

2011-04-20 Thread Gnarlodious
Not a Python question. You should go over to http://groups.google.com/group/comp.sys.mac.system/ and ask. -- Gnarlie -- http://mail.python.org/mailman/listinfo/python-list

RE: renaming files in OS X

2011-04-20 Thread jyoung79
Not a Python question. You should go over to http://groups.google.com/group/comp.sys.mac.system/ and ask. -- Gnarlie What do you mean it's not a python question? os.rename is python syntax… how does it work on OS X? Is it the same as the 'mv' command, etc? Jay --

Re: renaming files in OS X

2011-04-20 Thread Philip Semanchuk
On Apr 20, 2011, at 10:02 AM, jyoun...@kc.rr.com jyoun...@kc.rr.com wrote: Hello, I'm considering using os.rename or shutil for renaming files on OS X (Snow Leopard). However, I've read that shutil doesn't copy the resource fork or metadata for the files on OS X. I'm not sure about

RE: renaming files in OS X

2011-04-20 Thread jyoung79
I'm considering using os.rename or shutil for renaming files on OS X (Snow Leopard)... Hi Jay, I don't know if os.rename() does what you want, but why don't you try a simple test and find out? Surely an empirical test is at least as useful as an answer from someone like me who may or

Re: renaming files in OS X

2011-04-20 Thread Ned Deily
In article 280cb56a-89b8-4d62-9374-d769b3acf...@semanchuk.com, Philip Semanchuk phi...@semanchuk.com wrote: On Apr 20, 2011, at 10:02 AM, jyoun...@kc.rr.com jyoun...@kc.rr.com wrote: I'm considering using os.rename or shutil for renaming files on OS X (Snow Leopard). However, I've read

RE: renaming files in OS X

2011-04-20 Thread jyoung79
In article 280CB56A-89B8-4D62-9374-D769B3ACFEBB at semanchuk.com, Philip Semanchuk philip at semanchuk.com wrote: On Apr 20, 2011, at 10:02 AM, jyoung79 at kc.rr.com jyoung79 at kc.rr.com wrote: I'm considering using os.rename or shutil for renaming files on OS X (Snow Leopard)…