GithubHelp home page GithubHelp logo

Comments (3)

robert7 avatar robert7 commented on June 30, 2024

i'll look at it; I did not tested the feature before, as I'm not using it..

from nixnote2.

robert7 avatar robert7 commented on June 30, 2024

So I did some checking and for me the feature works OK. See screenshoots.
Setting up folder:
screen_20180901_02

Import using script:
screen_20180901_03

Imported files:
screen_20180901_04

Log entries regarding import:
screen_20180901_05

Pls use last version (currently "2.0.1-beta-3d" from my Dropbox folder

Additionally in the v2.0 there was a problem reported as "Import too fast".
In "2.0.1-beta-3d" I improved logging and also did a "quick fix" for the "too fast import". Files named ".tmp" are ignored. So you can copy files to import folder like this

#!/bin/bash

if [ ! -f "$1" ]; then echo 1st param needs to be existing file!; exit 1; fi
if [ ! -d "$2" ]; then echo 2nd param needs to be existing directory!; exit 1; fi


# copy file with ".tmp" file extension to targed directory
cp $1 $2/$1.tmp

# rename file to original name
mv $2/$1.tmp $2/$1

and avoid the "too fast" import, where unfinished file could be imported.

So if your problem persist, then I need more info about your use case and log file (see wiki how to find/attach log file).

from nixnote2.

robert7 avatar robert7 commented on June 30, 2024

Ok there is also easier workaround solution without the "sh" script I proposed before.
This works both with v2.0 and v2.1

Just organize your workflow as follows:
1, do the download to "Directory1" - e.g. ~/Downloads
2, then setup "Import folders" to a subdirectory of it - Directory2 - e.g. ~/Downloads/nixnote
3, then download your files...
4, when finished, move all files from Directory1 to Directory2 - as "move" is "atomic" operation, the problem should nort occur. Eg. mark all files in ~/Downloads then Cut & paste to the "Import folder" ~/Downloads/nixnote
Then important point is you must not do "Copy&Paste" but "Cut&Paste" (=move)..

So I'm closing this now. If you still have problem reopen the ticket or open a new but pls with more details/log file/version used etc.

from nixnote2.

Related Issues (20)

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.