All Projects → tessus → joplin-scripts

tessus / joplin-scripts

Licence: other
scripts for Joplin

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to joplin-scripts

jetbrains-utility
Remove/Backup – settings & cli for macOS (OS X) – DataGrip, AppCode, CLion, Gogland, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm
Stars: ✭ 62 (+55%)
Mutual labels:  backup, cleanup
Unburden Home Dir
Automatically unburden $HOME from caches, etc. Useful for $HOME on SSDs, small disks or slow NFS homes. Can be triggered via an hook in /etc/X11/Xsession.d/.
Stars: ✭ 48 (+20%)
Mutual labels:  backup, cleanup
docker-aws-s3-sync
Docker container to sync a folder to Amazon S3
Stars: ✭ 21 (-47.5%)
Mutual labels:  backup
dotfiles
There is no place like ~/
Stars: ✭ 19 (-52.5%)
Mutual labels:  scripts
MEMCM-OSD-Scripts
OSD Scripts
Stars: ✭ 34 (-15%)
Mutual labels:  scripts
backup-github-repo
Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML
Stars: ✭ 31 (-22.5%)
Mutual labels:  backup
HALO-SCRIPT-PROJECTS
✅ Halo PC|CE - Add-ons for Phasor V2+ and SAPP 🇳🇿
Stars: ✭ 25 (-37.5%)
Mutual labels:  scripts
docker-atlassian
A docker-compose orchestration for JIRA Software and Confluence based on docker containers.
Stars: ✭ 13 (-67.5%)
Mutual labels:  backup
iceshelf
A simple tool to allow storage of signed, encrypted, incremental backups using Amazon's Glacier storage
Stars: ✭ 28 (-30%)
Mutual labels:  backup
gitlab-mattermost-backup
A simple backup script for mattermost in gitlab omnibus package
Stars: ✭ 23 (-42.5%)
Mutual labels:  backup
eXperDB-Management
eXperDB-Management is a integrated management tool for PostgreSQL(for efficient operation and management).
Stars: ✭ 38 (-5%)
Mutual labels:  backup
custom-modules
User Provided Custom Modules for PhantomBot
Stars: ✭ 26 (-35%)
Mutual labels:  scripts
emsm
A lightweight, easy to extend minecraft server manager.
Stars: ✭ 72 (+80%)
Mutual labels:  backup
kube-dump
Backup a Kubernetes cluster as a yaml manifest
Stars: ✭ 142 (+255%)
Mutual labels:  backup
grafana
Grafana dashboard for Veeam solutions
Stars: ✭ 31 (-22.5%)
Mutual labels:  backup
yii2-db-manager
Database Backup and Restore functionality
Stars: ✭ 96 (+140%)
Mutual labels:  backup
restique
A wrapper around restic with profiles
Stars: ✭ 43 (+7.5%)
Mutual labels:  backup
awesome-backup
A list of FOSS backup software
Stars: ✭ 55 (+37.5%)
Mutual labels:  backup
s3backup
No more custom backup scripts please ...
Stars: ✭ 20 (-50%)
Mutual labels:  backup
jt tools
Ruby on Rails Continuous Deployment Ecosystem to maintain Healthy Stable Development
Stars: ✭ 13 (-67.5%)
Mutual labels:  scripts

Use at your own risk!

Why are there 2 scripts to remove resources?

The first script jnrmor removes orphaned resources from the database and the meta data files for those resources from the sync target. Due to an error in the Joplin API, the actual resources are not deleted on the sync target. There's where script jnclnst comes to the rescue.

The default locations for the config files are the path of the script and your home directory. These locations will be shown with the option --help.

Requirements

bash version 4 is required for jnclnst. Some scripts use getopt to parse the arguments. Unfortunately the getopt that comes with macOS is a useless piece of shit and can't be used in any useful manner.

macOS

The best way to install proper versions of bash and getopt is to either use MacPorts or brew. Make sure the binaries are in the PATH before /bin and /usr/bin.

MacPorts

sudo port install bash
sudo port install getopt

brew

brew install bash
brew install gnu-getopt

jnrmor - remove orphaned resources in Joplin

usage: jnrmor [-c CONFIGFILE] [-f] [-q|--quiet] [-n|--dry-run] [-d|--debug] [-V|--version] [-h] [--help]

       -c CONFIGFILE
           use CONFIGFILE, instead of searching the default locations
           The first file found is used.

       -f
           run without confirmation

       -q, --quiet
           do not print informational messages
           (errors will be shown)

       -n, --dry-run
           only show orphaned resources (do not actually delete them)
           implies -f

       -d, --debug
           print debug information

       -V, --version
           version information

       -h
           usage information

       --help
           this help

If you rather use a perl script, head over here. You can use the script listnotes.pl with the option --weed.

jnclnst - clean sync target (remove orphaned resources from sync target)

This script is no longer needed. A fix was added to Joplin a while back. It’s only here for reference and for people who still use an old Joplin version. It doesn’t hurt to run the script, it just won’t find anything to remove anything anymore.

usage: jnclnst [-c CONFIGFILE] [-f] [-q|--quiet] [-n|--dry-run] [-d|--debug] [-V|--version] [-h] [--help]

       -c CONFIGFILE
           use CONFIGFILE, instead of searching the default locations
           The first file found is used.

       -f
           run without confirmation

       -q, --quiet
           do not print informational messages
           (errors will be shown)

       -n, --dry-run
           only show orphaned resources (do not actually delete them)
           implies -f

       -d, --debug
           print debug information

       -V, --version
           version information

       -h
           usage information

       --help
           this help
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].