Basename detects an extra operand if I use it with find
0
votes
1
answer
316
views
I try to execute basename via find like this:
find ./test_folder -type f -exec basename {} +
But I get the following error:
basename: extra operand './test_folder/test/file.crt'
Why I get this though?
Asked by Dimitrios Desyllas
(1301 rep)
Nov 6, 2023, 07:37 PM
Last activity: Nov 7, 2023, 07:18 AM
Last activity: Nov 7, 2023, 07:18 AM