It is necessary to move from directory A to directory B files with more than three digits in the title. Bash script code:
#!/bin/bash mv ./cat1/* cat2 This code allows you to move files from directory 1 to directory 2, but how to add a regular expression to this code, I tried everything in grep, but nothing comes out. Maybe someone knows?
mv ./cat1/*[0-9]*[0-9]*[0-9]*[0-9]* cat2mv ./cat1/*[0-9]*[0-9]*[0-9]*[0-9]* cat2- KoVadim