11 lines
212 B
Python
Executable file
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)
|