Quantcast
Channel: Copy the same file to the desktops of all users - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 3

Copy the same file to the desktops of all users

0
0

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.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images