473,385 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Re: Picking up resource forks and extended attributes on Mac OS X ?!

Mitrokhin wrote:
Also (dare I ask for this too) If some nice soul could point me in the
right direction for picking up files with extended attributes under OS
X I'd be really gratefull to. Should it be done the same way, ie. via
os. calls or perhaps by way of a popen or ... ?
Mac OS X 10.5 comes with a Python "xattr" package pre-installed, which
the xattr command-line utility is built on top of. Furthermore, the
resource fork can be accessed as an extended attribute
(xattr.XATTR_RESOURCEFORK_NAME). This might also be true of Mac OS X
10.4, but I don't recall for sure and I don't have access to it to
check.

-Miles
Aug 30 '08 #1
0 906

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris Stocker | last post by:
The problem that we see is that we can not create a reparse point on the file system. The operating system returns error 282 which means that the FS doesn't support extended attributes, which it...
5
by: John Perks and Sarah Mount | last post by:
When handling resources in Python, where the scope of the resource is known, there seem to be two schools of thought: (1) Explicit: f = open(fname) try: # ... finally: f.close()
0
by: Josef Meile | last post by:
Hi, I'm working with .resx files for a multilanguage application and so far it has worked perfectly. However, now I want to add more attributes to the xml schema and read them at running time....
5
by: Martin Bischoff | last post by:
Hi, is it possible to implement custom resource managers for ASP.NET 2.0 so that strings can be read from a database (for example)? Ideally, it should be possible to configure the custom...
2
by: Raterus | last post by:
Hi, This is easy, I'm using some "extended attributes" to my classes/properties more and more these days, you know, when you have type that stuff before the definition of your class. ...
4
by: Baldoni | last post by:
It's been years since putting together a page. This line in my HTML: <link type="text/css" rel="stylesheet" href="net4801style.css"> gives this problem (via weblint HTML checker): attribute...
1
by: Jason Richmeier | last post by:
In a project I am working on, it sounds like resource files are what I need (to group things like error message strings). If I put a resource file in a project, everything will work fine. ...
1
by: java.inet | last post by:
HI what is the application of resource variable
0
by: Suppi | last post by:
Hi all, we're doing a lot of xml/java (de)serialization and thus have defined a bigger type hierarchy in xml-schema. It starts with basic complex type as base classes. These are extended via...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.