This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Proof of concept that produces a virtual FUSE-mountable | |
# file/directory structure from a python dictionary | |
# By Steve Androulakis <http://github.com/steveandroulakis> | |
# Requires FUSE (linux: use package manager to install) | |
# Requires python-fuse pip install fuse-python | |
# USE: | |
# Mount: ./dict-fuse.py mnt -f | |
# Unmount: fusermount -u -z mnt |