Generate link to latest modified file on directory


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. rm latestlink; ln -fs "`ls -t .| head -n 1`" latestlink

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.