Closed iandstanley closed 3 years ago
This will require some refactoring of the function for importing
The current behaviour of the other functions such as add and delete is that the script shifts the subcommand out of ARGV and then the rest of the line is the note title.
However, during coding I found that tweaking some of these lines broke imports with spaces in the directories so initially to get version 1.0 out I decided to keep this bug in the code for a little while longer until I had the main features in the latest release
Describe the bug The 'notes import' command truncates filenames that include a space in them. A filename called "My File.txt" will be imported as "My.gpg"
The content of the note will still be imported but the filename will be truncated a the first space
This is because of the globbing being used.