This commit is contained in:
Daniel Flanagan 2020-02-12 11:26:32 -06:00
parent d8126dc9e6
commit 3f00303e97
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -1,5 +0,0 @@
#!/usr/bin/env moon
archive_name = "#{string.gsub arg[1], "(.*/)(.*)", "%2"}.tar.zstd"
os.execute "tar --zstd -cvf '#{archive_name}' '#{table.concat arg, "' '"}'"
print "Archive created at: #{archive_name}"