mirror of
https://github.com/9001/copyparty.git
synced 2025-10-04 02:09:20 +02:00
general-purpose file parsing
This commit is contained in:
parent
c0e6df4b63
commit
0fcfe79994
4 changed files with 52 additions and 16 deletions
9
bin/mtag/file-ext.py
Normal file
9
bin/mtag/file-ext.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
|
||||
"""
|
||||
example that just prints the file extension
|
||||
"""
|
||||
|
||||
print(sys.argv[1].split(".")[-1])
|
Loading…
Add table
Add a link
Reference in a new issue