Sample Header Ad - 728x90

I want to copy files that do not have a number in their name

5 votes
4 answers
1318 views
These are all the files I want to use cp command using file globing to copy all those files that do not have a numeric value. The copied files should not include 12a, ghf3 and s2d. I tried using cp [!0-9] *[!0-9] *[!0-9] destination/
Asked by Raghav Arora (51 rep)
Jun 16, 2023, 08:40 AM
Last activity: Jan 5, 2025, 11:56 AM