shell - List files with extention matching conditions -
i trying list .mp4 files start d , length of filename should minimum of 5 in single command. dont know how add length requirement command. have far:
ls [d]* | *.mp4
this it:
ls d????*.mp4
?
matches single character; *
matches 0 or more of character. d????
means "a string starting d , 4 more characters". encodes length requirement.
Comments
Post a Comment