mkbackup-btrfs/files/usr/bin/syssubvol

12 lines
212 B
Text
Raw Permalink Normal View History

2019-03-05 13:20:31 +01:00
#!/usr/bin/python3
import sys
from mkbackup.mkbackup_btrfs_config import MountInfo
def relpath(mp):
print(MountInfo().relpath(mp))
if __name__ == "__main__":
for i in sys.argv[1:]:
relpath(i)