나는 unix 명령 사용법에 초보자입니다. 여러 디렉토리의 여러 파일을 새 디렉토리로 복사하는 방법이 있는지 물어보고 싶습니다. 예 :다른 디렉토리에서 하나의 새 디렉토리로 여러 파일을 복사하는 unix 명령
in /tmp/dirA --> it contains file A.run.log and A.skip.log
in /tmp/dirB--> it contains file B.run.log and B.skip.log
in /tmp/dirC --> it contains file C.run.log and C.skip.log
하고 싶습니다이 /tmp/dirNew
라는 새 폴더에 모든
A.run.log
A.skip.log
B.run.log
B.skip.log
C.run.log
C.skip.log
을 가지고 그것을 할 수있는 유닉스 명령이 있나요? 정말 감사합니다. 고맙습니다.
JS
당신은'cp','mv','find'을 탐험 할 수 있습니다. globbing에 대한 지식이 도움이 될 수도 있습니다. – devnull