This commit is contained in:
foobar
2022-10-28 16:51:46 +02:00
parent 2da341dbeb
commit 5ed9459f48
165 changed files with 231685 additions and 0 deletions

13
scripts/exampleperl.pl Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/perl
use strict;
use warnings;
use feature qw(say);
use Filesys::Df;
use Data::Dumper;
use File::Find;
use Archive::Zip qw/ :ERROR_CODES :MISC_CONSTANTS /;
use File::Path qw(remove_tree);
my($torrentid, $torrentname, $torrentpath) = @ARGV;
open(my $fh, '>>', '/root/scripts/log.txt');
print $fh "Torrent Details: $torrentname $torrentpath $torrentid\n"