Zim

Need zim to recognise other/no file extension.

Asked by Joe

I am just wondering if it is possible to make Zim open files that don't have the .txt extension. I run a lot of scans that i output the results of into one folder. I can then open the folder as a Zim notebook and organise the scans and results in there.

The trouble is, the scans don't append the file with .txt, even though they are just standard plain text files, so Zim never recognises them and doesn't add them to the notebook. Is there anyway to make zim just assume that everything in a folder is a txt file?

Obviously i could go through, adding the .txt extension to each filename but i'm trying to get the process as automated as possible.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Zim Edit question
Assignee:
No assignee Edit question
Solved by:
Jaap Karssenberg
Solved:
Last query:
Last reply:
Revision history for this message
Best Jaap Karssenberg (jaap.karssenberg) said :
#1

Afraid zim can not do this at the moment. I has a hard check for the ".txt"
extension.

To automate I would suggest making a small script to do the re-naming for
you before you open in zim.

Regards,

Jaap

On Tue, Sep 2, 2014 at 1:26 AM, Joe <email address hidden>
wrote:

> New question #253934 on Zim:
> https://answers.launchpad.net/zim/+question/253934
>
> I am just wondering if it is possible to make Zim open files that don't
> have the .txt extension. I run a lot of scans that i output the results of
> into one folder. I can then open the folder as a Zim notebook and organise
> the scans and results in there.
>
> The trouble is, the scans don't append the file with .txt, even though
> they are just standard plain text files, so Zim never recognises them and
> doesn't add them to the notebook. Is there anyway to make zim just assume
> that everything in a folder is a txt file?
>
> Obviously i could go through, adding the .txt extension to each filename
> but i'm trying to get the process as automated as possible.
>
> Thanks!
>
> --
> You received this question notification because you are an answer
> contact for Zim.
>

Revision history for this message
Joe (joecoxon21) said :
#2

No problem! I just wanted to check in case there was some kind of a configuration that I could change.

I'll get working on a script. Thankyou for your quick answer!

Joe.

Revision history for this message
Joe (joecoxon21) said :
#3

Thanks Jaap Karssenberg, that solved my question.