EnglishFrenchSpanish

OnWorks favicon

rsrce - Online in the Cloud

Run rsrce in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rsrce that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rsrce - editor for raw MacOS resource forks

SYNOPSIS


rsrce [-e] [-f script] [-o output-file] [input-file]

DESCRIPTION


Rsrce is a command driven Macintosh resource fork editor for Unix-like operating systems.
It works with raw resource forks stored in Unix files, such as the .rsrc files produced by
the macutil package.

Rsrce doesn't allow you to edit the resource data directly. It only knows to
import/export them from/to files, performing conversion for the few resource types it
knows.

OPTIONS


-e When this option is given, the failure of an editor command will cause rsrce to
quit immediately with a non-zero exit status. This is similar to the -e option to
/bin/sh.

-f script
Instructs rsrce to read its commands from the given script, instead of using the
standard input.

-o output-file
Specifies a default output file for the writecommand. Useful when calling rsrce
scripts which save their changes with a write command without a filename.

If an input-file is specified, it is loaded before rsrce starts reading commands, and is
used as the default output file if the -o option has not been given.

USAGE


Rsrce reads commands from the standard input. Unquoted whitespace is ignored, except for
the purpose of separating arguments. Empty lines are ignored, and a # at a position where
an argument would have started indicates a comment which extends to the end of the line.
Text within single quotes is used as-is. An unquoted backslash can be used the way it
works in C strings, or to force literal interpretation of the following character.

Resources are referred to by specifing their type and id, separated by a colon. I mean,
something like "STR#:128". If the given type has less than 4 letters, spaces are added to
complete it.

The following commands are available:

read [file]
read the resources from file

write [file]
write the resources to file

create resource
create a new, empty resource with the given type and id

delete resource
remove the specified resource

rename resource new-name
change the name associated with resource to new-name

chattr resource attr-spec
change the attributes of resource according to attr-spec

ls list each resource's type, id, attributes, data lenght, and name

hexdump resource
show an hexdump of resource's data

import|export resource file [ext]
import/export resource's data from/to file. The conversion which is performed
depends on the extension of the given filename. This extenstion may be overriden
by providing the extargument.

edit resource[ext]
invoke an external editor to change resource's data

help list available commands

exit terminate rsrce (without saving, use write before exit if you wish to save your
changes)

CONVERSION OF RESOURCE DATA


When rsrce imports or exports resource data, a conversion can be performed depending on
the resource type and the extension of the provided filename.

The following extensions are known to rsrce:

bin causes no conversion, the raw resource data is used regardless of the resource
type;

txt causes the resource data to be converted to plain text. This is possible for STR,
STR#andCMDLresources.

Use rsrce online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

crm
crm
Use crm online using onworks.net
services. ...
Run crm
  • 4
    crmgr
    crmgr
    crmgr - administration utility for QDBM
    Curia ...
    Run crmgr
  • 5
    gappletviewer
    gappletviewer
    gappletviewer - Load and runs an applet
    ...
    Run gappletviewer
  • 6
    gaps
    gaps
    mummer - package for sequence alignment
    of multiple genomes ...
    Run gaps
  • s-processed="true">
    g15stats
    g15stats - A CPU/Memory/Swap usage
    meter for G15Daemon DESCRIPTION: The
    packages provides the following usage
    meter for LCD on some Logitech
    keyboards, usind g...
    Run g15stats
  • More »
  • Ad