When adding files to a volume with "Remove previews from files' Resource after storing in DB" selected as seen on the image below, there is still data added to the resource fork. Downloading the file from Portal by compressing it using a zip method that does not save the resource fork removes this extra data.
You want a way to automatically apply "Remove previews from files' Resource after storing in DB" to all files in a volume.
The cause of the increase in the file sizes is caused by PICT previews being stored in the resource fork of the files.
To prevent the storage of these PICT previews, you can add the
:ns option to your Volume within the
fpovolopts file on your Xinet Server.
/usr/adm/appletalk/fpovoloptsin your preferred editor.
- Locate your Volume within the file.
- Add the
:nsoption to your volume, as shown below for the XinetVolume1:
- Save the file.
- Locate the PID for your fpod process and force restart it to finalize the changes:
# ps -ef | grep fpodin your Terminal.
- Locate the PID in the results.
# sudo kill -HUP <pid>using the identified PID.
To test, copy a new file to the edited volume and confirm that the file size does not increase.