HOWTO convert GFX 50s RAF Files to Capture One automatically (MAC version)
I did have some errors with x-aquire. So I redesigned my script convertdng.sh again.
Different code now.
I did have some errors while photographing to fast. So I optimized my script convertdng.sh.
Hi there. I am not a native English speaker, so my grammar will be horrible. Sorry for that. I am a photographer and writing this description was not easy for me. I have done my very best. Use this information on your own risk.
This script will give you the possibilty to convert RAF files to DNG files for automatic import to Capture One on a Mac.
Or if you just use part of it … convert your RAF to DNG on demand.
Capture One could read JPG Files but not the RAF files from the GFX.
The lack of the possibility of direct importing my RAF Files from the Fuji GFX 50S into Capture One and the boring work every time to convert it manually, was the reason for this solution.
This workflow will …
1. Import files with X-Aquire to a folder named “fuji-import”
2. Watch that folder (tool fswatch) for new files in “fuji-import”
3. If there is any new RAF file in “fuji-import” fswatch starts the conversion script automatically and converts it with “Adobe DNG converter” to dng and export it
4. Modify the new DNG File with exiftool and export it.
5. In Capture One change your capture folder to the fuji-import folder so you can see the DNG Raw Files
If this is useful or useless for anybody … i don’t know … but for me it is working.
If everything is installed correctly … you only have to start my watchdog script startfswatch.sh.
Anything else is done by the scripts. DNG files will now be easy to open in C1. Installation takes you 5 minutes !!!
Getting started … 🙂
Software you have to install: fuji x-aquire, adobe dng converter, exiftool, fswatch and 2 of my scripts (links below)
Please download and install X-Aquire, adobe converter, exiftool. I will not explain how to install this things. They have better descriptions and they are straight forward and easy to install. And if you do not understand … you better stop here 😉 😀
Next you have to install fswatch. It is a little program to watch any changes in a directory and then start a script.
Howto for installing fswatch.
About the App fswatch ( it is a monitor program)
- App name: fswatch
- App description: Monitor a directory for changes and run a shell command
- App website: https://github.com/emcrisostomo/fswatch
Install the App
Command+Spaceand type Terminal and press enter/return key.
- Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
and press enter/return key. Wait for the command to finish.
brew install fswatch
Done! You can now use
fswatch. (we will do it later)
In our case, we use the command below for starting the importing script. (not now … if we are ready 😉 )
After you did install all mentioned programs and also stored my scripts under your homefolder you have to
- Copy my scripts into your home directory
- Create folders fuji-import in your home directory
If you want to change the directory you can easily change it in my script convertdng.sh.
In Terminal window you have to type in only once for installation
chmod 764 convertdng.sh
chmod 764 startfswatch.sh
Your configuration of x-aquire should be, that you only store the RAF Files into ~/fuji-import folder
To start the automatic conversion you have to open terminal window and type in command “./startfswatch.sh”
How: Open the terminal window with command + Space and type Terminal and press enter/return key
and type in “./startfswatch.sh”
Software you will need to install:
fuji x-aquire, adobe dng converter, exiftool, fswatch and 2 of my scripts
Save this scripts into your homedirectory