Find Jobs
Hire Freelancers

Bash script to create symlink

$2-7 USD

已取消
已发布大约 15 年前

$2-7 USD

货到付款
Need a script to automatically create/update a symlink to the most recent directory. I want to make a shell script which will create or update a symlink (named "current") so that it automatically points to the subdirectory with the most recent date. For example, given these subdirectories: 2009.03.21_00.50.02 2009.03.21_11.31.42 2009.03.22_07.55.47 2009.03.22_10.59.20 2009.04.03_23.21.38 2009.04.15_11.06.08 2009.04.16_00.50.02 2009.04.18_20.35.26 I want the script to create or update a symlink like this: current -> 2009.04.18_20.35.26/ the symlink will reside at the same level as the directories 2009.04.18_20.35.26, etc. When the bash script is run next, if there is a new directory named e.g., 2009.04.20_16.15.06, (and this is the most recent) the symlink should be updated to: current -> 2009.04.20_16.15.06/
项目 ID: 3821371

关于此项目

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

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$6 USD来参与此工作竞标
用户头像
See private message.
$5.95 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Austin, United States
5.0
12
付款方式已验证
会员自2月 4, 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)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。