Skip to content

Instantly share code, notes, and snippets.

@spookyahell
Created January 16, 2022 22:49
Show Gist options
  • Save spookyahell/608d0af52166195f8d7e258e033531af to your computer and use it in GitHub Desktop.
Save spookyahell/608d0af52166195f8d7e258e033531af to your computer and use it in GitHub Desktop.
sf.py v1.0 - split large files for TG (by @spookyahell)
#!/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