Find Jobs
Hire Freelancers

Bash script to create symlink

$2-7 USD

Đã hủy
Đã đăng vào khoảng 15 năm trước

$2-7 USD

Thanh toán khi bàn giao
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/
Mã dự án: 3821371

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 15 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
1 freelancer chào giá trung bình $6 USD cho công việc này
Avatar người dùng
See private message.
$5,95 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
Austin, United States
5,0
12
Phương thức thanh toán đã xác thực
Thành viên từ thg 2 4, 2009

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.