Advertisement
Guest User

ls-multi file lister

a guest
May 7th, 2024
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | Source Code | 0 0
  1. function ls-multi() {
  2.     if [[ "$1" != "" ]]; then comment="-$1";fi
  3.     ls -alR -u --full-time >>"ls-alR-u$comment".$(date +%Y%m%d%H%M%S).txt
  4.     ls -alR -c --full-time >>"ls-alR-c$comment".$(date +%Y%m%d%H%M%S).txt
  5.     ls -alR --full-time >>"ls-alR$comment".$(date +%Y%m%d%H%M%S).txt
  6.     find >>"find$comment".$(date +%Y%m%d%H%M%S).txt
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement