In addition to the other comments… These functions transverse the target subdirectories and try to copy/move files into themselves, which just won’t work but is a waste of time and you’re gonna see these errors. Just skip them like so find . -path ~/png -prune -o -iname "*.png" -exec ...
In addition to the other comments… These functions transverse the target subdirectories and try to copy/move files into themselves, which just won’t work but is a waste of time and you’re gonna see these errors. Just skip them like so
find . -path ~/png -prune -o -iname "*.png" -exec ...