Find Jobs
Hire Freelancers

Perl Coder - Convert bash commands to pure Perl

$10-30 AUD

已完成
已发布大约 4 年前

$10-30 AUD

货到付款
Hi Everyone, My project is simple - you need to take this piece of perl code: my $command = "cd ".$homeDir."; find -type d -exec chmod 755 {} \; find -type f -exec chmod 644 {} \; find -iname \"*.pl\" -exec chmod 755 {} \; find -iname \"*.cgi\" -exec chmod 755 {} \; chown `pwd|cut -d/ -f3`.`pwd|cut -d/ -f3` * -R"; # Execute the commands system($command); and convert it into pure Perl, not using the exec(), system() or backtick operators. Basically, this code will go into a perl class package file, and I would like to call it as: $self->fixPermissions('/home/username/',username,groupname); And it would then go through and update all files to 644 permissions, 755 for all directories, 755 for any .pl and .cgi scripts and chown both user and group to the specified user in the function call. Cheers, Craig
项目 ID: 24558376

关于此项目

1条提案
远程项目
活跃4 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi, I can handle this task. I have over 2 years of experience with Perl and it is still a useful scripting language for my day job. Kindly contact me if you’re intersted. Thank you.
$30 AUD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

AUSTRALIA的国旗
Narre Warren South, Australia
5.0
43
付款方式已验证
会员自6月 18, 2009起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。