|Subject:||Re: [Ranger-users] Two-part extensions|
|Date:||Fri, 24 Jul 2015 10:47:12 +0100|
path \.nii\.gz$ = MyApplication "$1"
The argument to "path" is a regular _expression_, so you have to escape
the dots with a backslash. Placing a "$" at the end means ".nii.gz"
should only occur at the end of the path.
On Fri, Jul 24, 2015 at 09:39:28AM +0100, Arman Eshaghi wrote:
> Dear Al,
> What would be the best way to define a two-part extension to be opened by a
> specific application. Here is what I have done in
> ~/.config/ranger/rifle.conf but I cannot get what I want
> ext nii.gz = MyApplication "$1"
> However, MyApplication will never launch with .nii.gz files. My question is
> where ext is defined, or how would you define a two-part extension here?
> Thank you in advance for any help
> All the best,
|[Prev in Thread]||Current Thread||[Next in Thread]|