Jump to content

Datos perdidos


Recommended Posts

No se si poner esto aqui o en zona tecnica pero como es de musica lo pongo aqui, ya me direis si lo cambio.

A un guitarrista le robaron el portatil en BCN donde llevaba su disco, muchos meses de trabajo. Tenia una copia de seguridad en casa con la mala suerte de que el disco duro le dio un problema, llevo a recuperar el disco duro y le devolvieron todos los datos comprimidos (sesiones de protools y ficheros de audio), al descomprimirlos se ha llevado la sorpresa de que no los puede leer y este script es la unica pista que he encontrado por ahi, si alguien pudiera explicarme algo lo agradeceria


Hi Carsten,


Pardon the delay in getting back to you. So these are sessions from Pro Tools 5.0(x) for Windows. Before version 5.1, Pro Tools on Windows and Mac used slightly different file formats and had difficulty transferring. These sessions should open in any recent version of Pro Tools for Windows (it works in 8.0, for instance), which should allow you to save into a current format that will work on the Mac, but you cannot open them on the Mac directly. It is unfortunate that Pro Tools does not display a more informative error message when attempting to open them.


If you don't have access to a Windows machine running a recent version of Pro Tools, there is a small [unsupported] hack you can do to open these sessions on a Mac if you’re feeling adventurous and fairly technically minded (and have backed up your sessions): you can swap the data and resource forks of these files and they should be able to open on the Mac. There are several utilities out there for this, and I have included a shell script that you can use from the Terminal to do this. Save the script below to a shell script (ending in .sh with Unix line endings) to a known location, then at the Terminal run the script with one of the session files on the command line. That should swap them and make it openable under Pro Tools on the Mac.


I hope that helps.



Paul Vercellotti

Digi Engineering


Y aqui el script en cuestion




# swap_data_to_resource.sh: swaps a file's data fork to its resource fork, destroying

# the data fork in the process. takes a file name as an argument.


echo "swapping data to resource: $1"


# The following (very ugly) sed command is used in this script to retrieve the size of a file from an

# 'ls -l' directory listing. It will always work provided that 1) file size is the 5th field listed

# in a directory listing, and 2) the fields are delimited by at least one space. In case this needs to

# be edited, the commands are as follows, and their order matters:


# s/^[ ]*// Removes leading whitespace from the beginning of the line, if any exists

# s/\([^ ]*[ ]*\)\{4\}// Removes the first 4 fields in the line, and the spaces after each field

# s/ .*// Removes everything after the 5th field.


FILESIZE=`ls -l $1 | sed -e 's/^[ ]*//' -e 's/\([^ ]*[ ]*\)\{4\}//' -e 's/ .*//'`


RSRCFILESIZE=`ls -l $1/rsrc | sed -e 's/^[ ]*//' -e 's/\([^ ]*[ ]*\)\{4\}//' -e 's/ .*//'`


#echo "resource fork size (before swap): $RSRCFILESIZE"

#echo "data fork size (before swap): $FILESIZE"


if [ $FILESIZE -lt 100 ]; then

echo "The data fork of this file is very small -- $FILESIZE byte(s). Looks like you may have already swapped to res? Terminating script to avoid corrupting your file..."

exit 127



echo > $1$$

cat $1 > $1$$/rsrc

rm $1

mv $1$$ $1


FILESIZE=`ls -l $1 | sed -e 's/^[ ]*//' -e 's/\([^ ]*[ ]*\)\{4\}//' -e 's/ .*//'`


RSRCFILESIZE=`ls -l $1/rsrc | sed -e 's/^[ ]*//' -e 's/\([^ ]*[ ]*\)\{4\}//' -e 's/ .*//'`


#echo "resource fork size (after swap): $RSRCFILESIZE"

#echo "data fork size (after swap): $FILESIZE"


exit 0

Link to comment
Share on other sites

Soy usuario de protools, sin tener mucha idea de informatica lo mas facil que puede hacer por lo que veo es agenciarse un pc con el protools y exportar o habilitar la sesión para mac. Con cualquier digi puede hacerlo o supongo que con el protools de demo lo podra hacer aunque tenga limite de pistas aunque esto ultimo es tonteria porque nada mas necesita exportar la sesion.

No obstante lo que son los audios de las sesiones los tendra seguro restaurados que es lo mas importante con lo cual en ultimo termino y aunque sea un coñazo siempre puede ponerlos a mano. Todo depende de la complejidad de los proyectos,el volumen de datos.....

En ultimo caso, que vaya a un estudio de grabacion y seguro que en nada se lo dan todo bien ordenadito y arreglado.


Un saludo.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.