mkbackup-btrfs/files/usr/bin/syssubvol
2019-03-05 13:20:31 +01:00

11 lines
212 B
Python
Executable file

#!/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)