How do I run “rawtoaces” from a specific directory containing images?

0
2
Asked By CuriousCoder42 On

Hey everyone, I'm in the process of installing "rawtoaces" and I've reached a step where I need to build a Docker container and run it. I found the instruction that says to run the command:

```$ docker run -it --rm -v $PWD:/tmp -w /tmp rawtoaces:latest rawtoaces IMG_1234.CR2```

However, I'm confused about where the example ends and where I should specify my folder route. I want to convert RAW files in a specific folder to EXR ACES 2065. Can someone explain how to correctly set this up? Thanks!

1 Answer

Answered By TechieTommy On

The `$PWD` variable is shorthand for the current working directory. It tells Docker where you're currently located in your file system.

Here's the breakdown:
- `-it` means you want to run it interactively.
- `--rm` will remove temporary Docker files once the process finishes.
- `-v $PWD:/tmp` mounts your current directory to the `/tmp` directory inside the container, so you can access your files.
- `-w /tmp` sets the working directory inside the container to `/tmp`.
- `rawtoaces:latest` specifies the Docker container to run.
- Finally, `rawtoaces IMG_1234.CR2` is the command it runs within the container, using `IMG_1234.CR2` as the input file. Essentially, make sure your image file `IMG_1234.CR2` is in the same folder from which you run this command, and it will work perfectly!

ImageGuru99 -

Thanks for clarifying! Just to confirm, the `1234.cr2` file should be in the directory where you're executing the command from, right? Not in a `/tmp` folder or anything special?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.