Answer the question
In order to leave comments, you need to log in
How to transfer files by part of the name?
Hello. Interested in the question, how to transfer partial files on the Linux command line using patterns?
There are three folders
80x
00x
latest
They need to sort the files that have (year) in the name.
mv `*198*` /home/fywy/task1/video/80x
8.0 Fanny och Alexander (1982).mp4: command not found
mv: missing destination file operand after '/home/fywy/task1/video/80x'
Try 'mv --help' for more information.
Answer the question
In order to leave comments, you need to log in
`*198*` ... 8.0 Fanny och Alexander (1982).mp4: command not found
what is the problem
find -name '*198*' -print0 | xargs -0 -I{} mv \{} /home/fywy/task1/video/80x
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question