Web Analytics Made
Easy - StatCounter

Copying files that match a pattern into a directory.

As an answer to this question: “How do I copy files matching a pattern, all to a directory?”, the answer is:

cp box*.JPG images

in linux, where box*.JPG are the files (with * the wildcard) and images as the directory.

I haven’t learned some of the command line tools extensively, some I use a lot, some not. I have been having some trouble with Nautilus (too many files?) so I expect to use these kinds of tools a lot more.

cp, rsync post from Linuxize.

© Amy Tabb 2018 - 2021. All rights reserved. The contents of this site reflect my personal perspectives and not those of any other entity.