Bash command / Shell to list all files with info


DieFalse

Recommended Posts

I am looking for a bash/shell command / quick script to create a TXT/CSV of all files in a directory and its recursive directories (subs after it) files, folders with creation date, last access date, and last modified dates.

 

IE:

 

File.EXT 

Created

Last Modified

Last Accessed

 

Folder

Created

LM

LA

 

This can be in a single line or separate lines as long as its later parseable.

 

Any ideas?

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.