Sample Header Ad - 728x90

How can wildcard expansion create duplicates?

0 votes
1 answer
54 views
I have a directory with an absurd number of files, which makes this nigh impossible to understand by inspection. But here's the situation: cp giant_folder/pre* myfolder It's crunching along and starts generating warnings like: cp: warning: source file 'giant_folder/pre1234.txt' specified more than once How can this happen?
Asked by Mastiff (101 rep)
Oct 31, 2023, 09:44 PM
Last activity: Oct 31, 2023, 11:24 PM