Comments (5)
Ok, some progress, while I can’t achieve this with the docker_compose.yml, I have has some success with the following Docker run
docker run -dit --rm --name organize \
-v "/share/Container/organize/config/":/home/pi/.config/organize/ \
-v "/share/Container/organize/logs/":/var/log/organize/ \
-v "/share/Container/organize/input/":/Input \
-v "/share/Container/organize/output/":/Output \
-v "/share/Publications/":/Publications \
-v "/share/Movies/":/Movies \
docker-organize \
"* * * * *"
I tool the “* * * * “ aspect from another docker run I had - so if anyone can explain the difference between the above and the following compose - please let me know..
version: '3'
services:
docker-organize:
image: docker-organize:latest
container_name: organize
volumes:
- /share/Container/organize/output:/Output
- /share/Container/organize/input:/Input
- /share/Container/organize/logs:/var/log/organize/
- /share/Container/organize/config:/home/pi/.config/organize/
- /share/Publications:/Publications
- /share/Container:/Containers
- /share/Movies:/Movies
from organize.
Thanks for describing the problem. If I understand it correctly you'd like to keep organize running in the background to watch for any changes in the given locations? Maybe something like #18?
This is one of the next features planned for the upcoming releases.
allowing me to then interact with it via the command line so I can run many different config.yml files I have?
Can you elaborate on that? What would this interactive mode look like?
from organize.
Hi @tfeldmann , thanks so much for responding.
I was not necessarily thinking about watching for something like a folder update, although I can see the benefit there - my uses case is that I have created a number of very focussed config.yml files - that do specific things when I want to run them.
Some times I need to do one thing first to sort stuff out and another to move things around into other folders - yes they can be run in sequence - but the order is not always easy to prescribe or I just want to run one or two on demand.
I don’t recall seeing a UI for Organize, but having it run constantly allows me to explore options like a command line menu of some sort - or I can maybe make calls to run Organize scripts from other systems.
from organize.
Ok starting with v3 you can already do this:
organize new name1
organize new name2
organize run name1
organize run name2
Maybe you can define some aliases to make this even shorter? Something like alias orun='organize run'
?
from organize.
I'll close this issue but will add "Improve CLI documentation" to my todo list.
from organize.
Related Issues (20)
- Consistent chronological order Issue in File Renaming HOT 6
- rename action error: ERROR! Missing value for template: 'builtin_function_or_method object' has no attribute 'strftime' HOT 3
- Original Name Variable Issue in Move and Rename Operation HOT 3
- Error: Config problem HOT 4
- Integration of Third-Party Plugin Interface HOT 1
- XDG_CONFIG_HOME ignored by default on macOS HOT 2
- Include multiple actions and mix move and shell crashes organize-tool HOT 3
- Moving a file to a NAS server triggers an error HOT 10
- Skipped files / Silent Error / Lack of verbose run HOT 7
- macos_tags problem HOT 5
- Renaming files HOT 5
- Copy folder structure from parent folder, monitored folder, or root folder HOT 4
- Persist logs HOT 1
- Remove macOS tags
- TypeError: unhashable type: 'list' when using aliases HOT 7
- Shell command fails HOT 4
- Help installing in Linux Mint virtual python env HOT 12
- Dockerfile Image Creation Error : COPY failed: file not found in build context or excluded by .dockerignore: stat organize: file does not exist HOT 1
- Dockerfile - Organize Build Errors & Failed Install ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from organize.