Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fruit_alchemist

macrumors newbie
Original poster
Apr 6, 2021
4
0
Hello,
In Forklift there is an option Tools, which allows to make quick actions.
But i don't really get how to create one.
Fir example a simple one:
Code:
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.

I need some other stuff like this:

Code:
soffice --convert-to odt $SOURCE_SELECTION_NAMES

What should i write? Maybe /bin/bash in the beginning? Still doesn't work.
 

Stephen.R

Suspended
Nov 2, 2018
4,356
4,747
Thailand
So for the first one, try

Bash:
/bin/cp $SOURCE_SELECTION_NAMES $TARGET_PATH

For the latter one, you ideally would identify the path to `soffice`, however you could also try

Bash:
/usr/bin/env soffice --convert-to odt $SOURCE_SELECTION_NAMES
 

fruit_alchemist

macrumors newbie
Original poster
Apr 6, 2021
4
0
So for the first one, try

Bash:
/bin/cp $SOURCE_SELECTION_NAMES $TARGET_PATH

For the latter one, you ideally would identify the path to `soffice`, however you could also try

Bash:
/usr/bin/env soffice --convert-to odt $SOURCE_SELECTION_NAMES
Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.