How can I move files in a folder with a specific pattern to the destination folder?
I want to move files with names in the range [00-09] in the 4th column when separated by delimiter "-".
ls | cut -d "-" -f 4 | grep ^[00-09]
Shows these files:
UNCID_376947.TCGA-DD-A118-01A-11R-A131-07.110525_UNC12-SN629_0087_BC03HWABXX.7.trimmed.txt
UNCID_377115.TCGA-CC-5263-01A-01R-A131-07.110525_UNC12-SN629_0087_BC03HWABXX.5.trimmed.txt
UNCID_377252.TCGA-DD-A114-11A-12R-A131-07.110525_UNC12-SN629_0087_BC03HWABXX.6.trimmed.txt