RE: renaming files in OS X

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

Re: renaming files in OS X

2011-04-20 Thread Ned Deily
In article <280cb56a-89b8-4d62-9374-d769b3acf...@semanchuk.com>, Philip Semanchuk wrote: > On Apr 20, 2011, at 10:02 AM, > wrote: > > 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

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

Re: renaming files in OS X

2011-04-20 Thread Philip Semanchuk
On Apr 20, 2011, at 10:02 AM, 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 os.rename though. > I need to

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 -- http://mail.python.o

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