[root@pjw test]# ls
2019 testserver-2019-05-27-17.log.gz testserver-2019-06-13-11.log.gz testserver-2019-06-21-15.log.gz testserver-2019-07-04-19.log.gz testserver-2019-07-24-16.log.gz testserver-2019-08-08-22.log.gz testserver-2019-08-29-11.log.gz
testserver-2019-04-26-13.log.gz testserver-2019-05-28-00.log.gz testserver-2019-06-13-21.log.gz testserver-2019-06-21-20.log.gz testserver-2019-07-08-18.log.gz testserver-2019-07-24-17.log.gz testserver-2019-08-08-23.log.gz testserver-2019-08-30-17.log.gz
[root@pjw test]# mv testserver-2019-0[4..5..6..7..8]* 2019/
[root@pjw test]# ls
2019 testserver-2019-09-05-18.log testserver-2019-09-16-10.log testserver-2019-09-17-09.log
# 숫자 범위가 아니라 지정이 가능. 뜨믄뜨믄
[1..3..5]
1,3,5
# 숫자 범위로 지정 가능
[1~5]
1,2,3,4,5
Bash
복사