Skip to content

altepizza/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Bookmark recovery script

This is a very simple 'recovery' script. It will ask the API for all bookmarks and folders. If it finds bookmarks that don't belong to any folder or are not saved in root then it will create a new folder called 'TEMP RECOVERY' and move them there so that you can easily access them via the frontend again.

Warning

Do only use this script once. The new folder ID will only be added to the 'folders' attribute of the bookmarks entity and therefore will still be identified as an orphan in any subsequent run. It may not do any harm, but I would be cautious anyways.

Disclaimer

Tested with Python 3.7.3.

Python 2.x will not work!

I am very aware that this script is no beauty and I only tested it for my setup. USE AT YOUR OWN RISK! Enjoy :)

Run

pip install -r requirements.txt

python recovery_orphaned_bookmarks.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages