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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -