Git Product home page Git Product logo

files2joplin's Introduction

files2Joplin

This is obsolete. A better, automatic option is the Hotfolder Plugin.

Create a RAW directory for import into Joplin using the files in a given attachment directory. Sub-directories are ignored. The RAW directory is named joplin and is created as a sub-directory of the attachment directory. One note is created for each file where the file name not including the extension is the title and the body consists of only a link(s) to the attached file.

Required command line inputs:

  1. joplin_directory. The absolute path for the Joplin directory. It is the directory you are syncing to, not the local directory. This is needed to check if randomly generated file names already exist.
  2. files_directory. The path for the attachment directory with the files to add to the RAW directory. Can be relative to the current directory.

Optional command line inputs:

  1. -l or --link_type. Type of link for attachments. Either 'joplin' to add the file to joplin_directory/.resource and use a Joplin link in the note, or 'file' to copy the file to attach_directory and use a file:// link(s) in the note. Default is 'joplin'.
  2. -a or --attach_dir_file. File containing sets of link names, absolute paths for directories (one link name and one directory per line, comma separated) for links with type 'file'. Multiple directories may be needed for multiple computers, particularly for different OSs. The files are moved to the directory path on the first line, so that directory must make sense for the computer you are running this from. This directory will be created if it does not exist. Good options for the directories would be sub-directories of the directories Joplin is synced to on each computer. Link names should identify the computers corresponding to the directory path. Must be specified if link_type is file and ignored otherwise.

files2joplin's People

Contributors

bnovak1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.