LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   digikam Batch Queue Manager - trying to use script: can't make it work (https://www.linuxquestions.org/questions/linux-software-2/digikam-batch-queue-manager-trying-to-use-script-cant-make-it-work-4175604203/)

pizzipie 04-19-2017 06:19 PM

digikam Batch Queue Manager - trying to use script: can't make it work
 
1 Attachment(s)
Hi,

I just installed Digikam v5.5.0 on Ubuntu MATE 16.04. I am new to Digikam so just learning. I can't get the script to run properly.

I am trying to move processed pictures from the Digikam Album Directory to another directory.

Here is my script move-digikam-photos.sh:
Code:

    rsync -avz /home/polly/VB-share/processedFiles /home/polly/digikam-receiving (works fine in the terminal)
I don't follow what the instructions in the attachment mean. Hope someone can help decipher that for me.
I tried putting name of the script and then the CODE above into the shell script window with no success ( files don't get moved).

In the digikam Settings=>Configure Notification window I have checked off Batch Queue Completed and Show message boxes.
In the Run Command box I have inserted /home/polly/move-digikam-photos.sh.

Thanks for any help you can give me on this issue,

R

JZL240I-U 05-17-2017 01:25 AM

Dunno whether that's the case here, but normally you start a script with a shebang (thus naming the shell), like "#!/bin/bash" or whatever shell you use. Might be worth a try. See also

https://en.wikipedia.org/wiki/Shebang_(Unix)

<edit> Sagle in Wikipedia Looks like a nice place, though some pictures are sorely missing ;) </edit>


All times are GMT -5. The time now is 10:19 AM.