在Mac OS X上的命令行上编辑资源派生 [英] Editing resource forks on the command line on Mac OS X

查看:126
本文介绍了在Mac OS X上的命令行上编辑资源派生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Mac OS X使用资源派生存储一些文件.我需要创建一个带有资源派生的文件.麻烦的是,我需要在命令行上创建此文件.有谁知道如何在Mac OS X的命令行中使用资源表单创建文件?

Mac OS X stores some files with resource forks. I need to create a file with a resource fork. The trouble is, I need to create this file on the command line. Is anyone aware of how you can create a file with a resource form on the command line in Mac OS X?

推荐答案

您可以使用path/to/file/.. namedfork/rsrc直接访问文件的资源派生.

You can directly access the resource fork of a file using path/to/file/..namedfork/rsrc.

这篇关于在Mac OS X上的命令行上编辑资源派生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆