Last active
November 29, 2018 21:50
-
-
Save davidjguru/bee403966b75692c55d3ee9a156a7f3a to your computer and use it in GitHub Desktop.
Getting clones from backup folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get the newest copy | |
ls -t |head -n1 | |
# Get the oldest copy | |
ls -tr |head -n1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment