Tired of typing long paths? Bookmark.py is your magical teleportation device for directories! 🪄
Jump between your favorite folders with just two commands: bookmark and goto. No more cd-ing through endless directories!
# 1. Clone this repo
git clone https://github.com/hasinhayder/bookomark.py.git
cd bookmark.py
# 2. Run the magic setup script
./setup.sh
# 3. Restart your terminal and start teleporting!
bookmark # Save your current directory
goto # Jump to any bookmarked directory# Navigate to a directory you love
cd ~/projects/awesome-app
# Bookmark it with a memorable name
bookmark
# Enter name: awesome
# That's it! Your spot is saved forever # See all your bookmarks and jump to any
goto
# 1. awesome
# 2. docs
# 3. config
# Select: 1
# Poof! You're now in ~/projects/awesome-app | Command | What It Does |
|---|---|
bookmark |
Save current directory |
bookmark --remove |
Remove current directory's bookmark |
bookmark --list |
Show all bookmarks |
bookmark --open |
Open bookmark in file manager |
bookmark --backup |
Create backup of bookmarks |
bookmark --restore |
Restore from backup |
bookmark --flush |
Clear all bookmarks |
goto |
Jump to any bookmarked directory |
bookmark --open
# 1. awesome
# 2. docs
# Select: 1
# Opens ~/projects/awesome-app in Finder/Explorer/File Manager bookmark --backup
# Creates: ~/.dir-bookmarks-backup-20231207_143025.txt
# Your bookmarks are safe! bookmark --restore
# Shows all your backups with timestamps
# Pick one and restore your bookmarks - Lightning Fast - Jump to any directory in seconds
- Cross-Platform - Works on macOS, Linux, and Windows
- Dead Simple - Just two commands to remember
- Safe & Sound - Automatic backups before any changes
- No More Typos - Say goodbye to long path typing
bookmark.py- The magic wandgoto_function.sh- The teleportation devicesetup.sh- The installation wizard
Found a bug or have an idea? Open an issue or submit a pull request!
MIT License - Use it however you want!
Made with ❤️ by Hasin Hayder
Stop walking, start teleporting!