Module for editing the Favorites entries of the Finder sidebar.
Project description
FinderSidebarEditor
Python module for easily adding, removing, and moving favorites on the Finder sidebar in the context of the logged in user.
Example Usage:
from finder_sidebar_editor import FinderSidebar # Import the module
sidebar = FinderSidebar() # Create a Finder sidebar instance to act on.
sidebar.remove("All My Files") # Remove 'All My Files' favorite from sidebar
sidebar.remove("iCloud") # Remove 'iCloud' favorite from sidebar
sidebar.add("/Library") # Add '/Library' favorite to sidebar
sidebar.add("/SomeShare", uri="smb://shares") # Mount 'smb://shares/SomeShare' to '/Volumes/SomeShare' and add as favorite to sidebar
sidebar.add("/SomeOtherShare", uri="afp://username:pw@server") # Mount pw protected 'afp://server/SomeOtherShare' to '/Volumes/SomeOtherShare' and add as favorite to sidebar
sidebar.move("Library", "Applications") # Move 'Library' favorite to slot just below 'Applications'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for finder_sidebar_db-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146768dfde382fc61d635eb54e7337c5943ed4c6222dfdd5f0493cb58bdb30ca |
|
MD5 | 54e7f4782df4c6ba0a0353c2607dd61b |
|
BLAKE2b-256 | b835ee34694972bb96d252c99c1d7964a84a21d8d9caef6f139670fe3c81219b |