Advertisement
theitd

List DIR and FILES to text file

Apr 18th, 2014
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. # Create a text list of all files and directories from FIND
  2. find /var/www/ -mindepth 1 -maxdepth 1 -exec basename {} \; | sort -n > /tmp/conf-files.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement