In Forklift there is an Tools option, which allows to make quick actions.
But I don't really get how to create one. For example a simple one - to copy files from one pane to another.
cp $SOURCE_SELECTION_NAMES $TARGET_PATH
/bin/bash cp $SOURCE_SELECTION_NAMES $TARGET_PATH
/bin/bash/cp $SOURCE_SELECTION_NAMES $TARGET_PATH
I tried these three variants but none of them work.
Error messages:
- "The operation couldn’t be completed. No such file or directory"
- "/bin/cp: /bin/cp: cannot execute binary file"
- "The operation couldn’t be completed. Not a directory".
I need some other stuff like this - to covert .rtf files to .odt with a bash command:
soffice --convert-to odt $SOURCE_SELECTION_NAMES
What should i write? Maybe /bin/bash in the beginning? Still doesn't work.
/bin/cp $SOURCE_SELECTION_NAMES $TARGET_PATH
should work (the other two for sure won't work). Do you have two panes open and some files selected in the active one?/bin/echo cp $SOURCE_SELECTION_NAMES xxx $TARGET_PATH > /tmp/fl.txt
and then add the content of/tmp/fl.txt
to your question?