I’m looking for a way to copy a file to all Desktops directory of each user.
Something like:
cp myfile /home/*/Desktop/
I found a way to copy files to all home directories using xargs
but it fails on the subdirectory.
I’m looking for a way to copy a file to all Desktops directory of each user.
Something like:
cp myfile /home/*/Desktop/
I found a way to copy files to all home directories using xargs
but it fails on the subdirectory.