Created
January 16, 2022 22:49
-
-
Save spookyahell/608d0af52166195f8d7e258e033531af to your computer and use it in GitHub Desktop.
sf.py v1.0 - split large files for TG (by @spookyahell)
This file contains hidden or 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/python3.6 | |
from subprocess import call | |
from sys import argv | |
del argv[0] | |
if len(argv) < 1: | |
print('sf.py v1.0 - split large files for TG (by @spookyahell)') | |
else: | |
call(['/root/Downloads/rar/rar/rar','a', '-v2000M','-m0',f'{argv[0]}.rar', argv[0]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment