-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello !
Is it possible to request a file listing equivalent of find_file.ps1 for osx & linux ? Our alternatives are annoying (planting a binary (+ possible config) and running it). Do you have some find_file.sh somewhere that would report file permissions, timestamps and hashes ?
Here's something I keep using when reviewing disks, just lists timestamps but you'll get the idea I assume.
function ffind () {
# >>> print(' '.join(map(lambda l:'-'.join(map(lambda x:f'%{l}{x}','YmdHMS')),'ACT')))
find . -type f -printf "%AY-%Am-%Ad-%AH-%AM-%AS %CY-%Cm-%Cd-%CH-%CM-%CS %TY-%Tm-%Td-%TH-%TM-%TS %p\n"
}Thanks a lot, cheers !
Metadata
Metadata
Assignees
Labels
No labels