Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YYYYMMDD_##_user_filename.json
- 20161021_01_test_parameters.json
- 20161021_01_test_stack.json
- 20161021_02_test_parameters.json
- 20161021_02_test_stack.json
- 20161022_03_test_parameters.json
- 20161025_04_test_parameters.json
- 20161025_04_test_stack.json
- find path/to/dir/ -maxdepth 1 -name '*parameters.json' | sort -t_ -nk2,2 | tail -n1
- find path/to/dir/ -maxdepth 1 -name '*parameters.json' -print0 | sort -zt_ -nk2,2 | tail -zn1
Add Comment
Please, Sign In to add comment