← Back to team overview

zim-wiki team mailing list archive

Re: Attachments management

 

Hi Alessia,

the Zim notebook is simply an ordinal file tree structure so you can use
any commands for files/folders examination. For example you can run 'ls'
recursively

[/Tasks][6249]% *ls* -*R*l Tasks/Install/
Tasks/Install/:
total 1
drwxrwx---+ 1 ydudorov Domain Users   0 May 21 19:49 Home
-rwxrwx---+ 1 ydudorov Domain Users 153 May 21 19:45 notebook.zim

Tasks/Install/Home:
total 1
drwxrwx---+ 1 ydudorov Domain Users   0 May 22 23:00 Install_Area
-rwxrwx---+ 1 ydudorov Domain Users 200 May 21 19:48 Install_Area.txt

Tasks/Install/Home/Install_Area:
total 5
drwxrwx---+ 1 ydudorov Domain Users   0 May 23 22:56 SV_Express
-rwxrwx---+ 1 ydudorov Domain Users 419 May 22 23:00 SV_Express.txt

Tasks/Install/Home/Install_Area/SV_Express:
total 25
...

or try to find files with known extensions (pdf/jpeg):

[/Tasks][6250]% *find* Odds-and-ends/Chancery/Home/Cheat_sheet_bundle
-iname '**.pdf*' -o -iname '**.jpeg*'
Odds-and-ends/Chancery/Home/Cheat_sheet_bundle/CLI-Cheat-Sheet.pdf
Odds-and-ends/Chancery/Home/Cheat_sheet_bundle/Git for Subversion Users.pdf
Odds-and-ends/Chancery/Home/Cheat_sheet_bundle/git-cheatsheet-EN-white.pdf
Odds-and-ends/Chancery/Home/Cheat_sheet_bundle/workflow-of-version-control.pdf
[/Tasks][6251]%

On Sun, May 24, 2020 at 2:39 PM Alessia Moretti <alemim@xxxxxxxxx> wrote:

> Thanks Marco for your answer. I usually export in html with one of the
> default template. I'm using linux (Xubuntu) and I think there should be a
> similar comand line tool. I just wanted to know how many and which
> attachments there are in the whole zim notebook (with its subdirectories)
> to check if everything is done. I think I've to run some command like ls(?)
> recursively against the notebook top level directory. I'm not very
> knowledgeable of the command like though.
> Thanks again
> Alessia
>
> Il Sab 23 Mag 2020, 18:25 Marco Cevoli <marco.cevoli@xxxxxxxxx> ha
> scritto:
>
>> Hi Alessia,
>>
>> how do you export the notebook? If you don't mind using an external
>> command, you can simply use a DOS command, such as "dir *.* > list.txt " to
>> print the file list of the current directory to a text file. If you're on
>> Windows, see:
>> https://answers.microsoft.com/en-us/windows/forum/windows_7-files/copy-filenames-from-folders-and-subfolders/1797e5eb-0be9-455b-a370-525e927a08f1
>>
>>
>> Regards,
>>
>> Marco Cevoli
>>
>> On Sat, May 23, 2020 at 3:34 PM Alessia Moretti <alemim@xxxxxxxxx> wrote:
>>
>>> Hello everyone and thanks to everyone who develop and help developing
>>> this wonderful application. Lately I'm managing and keep track of my
>>> daughter's homeworks (primary school, online lessons due to lockdown).
>>> Every time I send a homework to the teachers (a jpeg or pdf file) I put a
>>> copy of it in the correct day in a "homeworks" journal notebook so I can
>>> keep track of if and when the due homeworks were done. My question is:
>>> there is a way to have a list of the attachments when I export the notebook
>>> (and if it's possible in which format)? Thanks a lot
>>>
>>>
>>> Il Mer 13 Mag 2020, 16:43 Marco Cevoli <marco.cevoli@xxxxxxxxx> ha
>>> scritto:
>>>
>>>> A little effort in starting an Android app was done in the past. I
>>>> thought I could - at least - help with the mockup design, but couldn't work
>>>> on it. If you think your students can go down that road, this is the
>>>> starting point:
>>>> https://github.com/jaap-karssenberg/zim-android-mockapp/wiki
>>>>
>>>> Having an app would really be a nice addition to Zim!
>>>>
>>>> Kind regards,
>>>>
>>>> Marco Cevoli
>>>> Traduttore tecnico. Grafico. Congiungitore di punti.
>>>> Technical translator. Graphic designer. Joiner-of-dots.
>>>> -------------------------------------------------------
>>>> https://www.marcocevoli.com
>>>> info@xxxxxxxxxxxxxxx
>>>> t 34 675 800 826
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> My latest novel: https://uziversitari.marcocevoli.com
>>>> My latest ebook: https://gum.co/insostituibile
>>>> My latest projects: http://www.qabiria.com, http://www.allerglobal.com
>>>>
>>>>
>>>> On Wed, May 13, 2020 at 4:16 PM John R. Marks, IV <jrm4@xxxxxxxx>
>>>> wrote:
>>>>
>>>>> I CANT BELIEVE I JUST THOUGHT OF THIS.
>>>>>
>>>>> So, y'all, I teach in the MSIT at Florida State University, and this
>>>>> semester is my Advanced Web Applications class.  Broadly, it ends up being
>>>>> a VERY language agnostic class because our student pool is varied in terms
>>>>> of skill (FSU is weird, our Computer Science dept is completely separate
>>>>> from our Information/IT School, and I'm in the latter).  I personally have
>>>>> a very wide-but-SHALLOW knowledge about languages and frameworks (right now
>>>>> we still default to PHP + a little mostly vanilla JS because that's what I
>>>>> know how to do, despite all the frameworky stuff out there)
>>>>>
>>>>> Either way, though, I'd LOVE to point some of my students in the
>>>>> direction of some sort of web and/or mobile interface to Zim. It really
>>>>> does seem like it shouldn't be that hard especially if you consider the
>>>>> possibility of not really interacting with Zim-native's internal database,
>>>>> just do "the files" and perhaps spin up a separate one if needed. That, for
>>>>> me, has always been the beauty of Zim - the flat files. The db isn't
>>>>> "primary" and can be reloaded/destroyed whatever. I occasionally have
>>>>> cheated on Zim with org-mode. naughty-naughty, and that factor -- the
>>>>> ability to create multiple types of interfaces (orgzly, organice, etc etc)
>>>>> because of the simplicity of the filesystem.
>>>>>
>>>>> Anyway, this is part cheerleading and part volunteer from someone
>>>>> who'd love to see more of this.
>>>>>
>>>>> John
>>>>> jrm4.com
>>>>>
>>>>>
>>>>> On 5/13/20 9:34 AM, Gergely K. wrote:
>>>>>
>>>>> Slightly off but my advice is not to go with Django. It was a clever
>>>>> framework (does things ahead of time, like orm) and has some unique
>>>>> features, but it's components are not standard and it is a bit
>>>>> glued-together. Rather go with standard libraries (which you can use in any
>>>>> (non-web) projects)!
>>>>>
>>>>> On Wed, May 13, 2020 at 3:00 PM Shivam Sharma <shivam.src@xxxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> Wow. That was quick. I will test your patch.
>>>>>>
>>>>>> And the idea for building a full-fledged web application around Zim
>>>>>> is great. It should be started as a separate project, however. Zim
>>>>>> community may not welcome the idea integrated into Zim since Zim has been
>>>>>> very robust by being lean (and not being too many things at once).
>>>>>>
>>>>>> If you do start work on the project, I'd be willing to help. I have
>>>>>> some experience with Flask but not much with Django.
>>>>>>
>>>>>> On Wed, 13 May 2020 at 16:26, Helder Guerreiro <helder@xxxxxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>>> On 08/05/20 16:13, Helder Guerreiro wrote:
>>>>>>> > Is it possible to add a search box to the internal Zim server?
>>>>>>>
>>>>>>> Since it seems there is no easy way to add search to the server I
>>>>>>> made
>>>>>>> the patch attached (against master). There's an example search box
>>>>>>> in
>>>>>>> the "Default_with_index" template.
>>>>>>>
>>>>>>> But this got me thinking, now I'm looking for other features, tag
>>>>>>> list,
>>>>>>> task list, maybe even marking tasks directly from the server or
>>>>>>> editing
>>>>>>> pages... This seems to be a little too much for this server. Using a
>>>>>>> framework, Django or whatever, would be easier. Maybe a separated
>>>>>>> project from Zim?
>>>>>>>
>>>>>>> /Helder
>>>>>>> _______________________________________________
>>>>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>>>>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>>>>  Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mobile:(+36 20)356 9656
>>>>> "Olyan lángész vagyok, hogy poroltóval kellene járnom!"
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~zim-wiki
>>> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Best regards,
Yury Dudorov

mailto: Yury.Dudorov@xxxxxxxxx
Telegram:    +7 (985) 773 0 718
WhatsApp:   +7 (985) 773 0 718
Viber:            +7 (916) 545 12 67
Skype:           yury_dudorov

Cellular: +7 (985) 773 0 718

Follow ups

References