annotate bing4desktop/copy_desktop.sh @ 25:4797b096efab

bing4desktop-0.240208-0.1
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:43:26 +0100
parents 02409f02eea6
children 67b4b7916036
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
1 #?/bin/sh
24
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 13
diff changeset
2 exclude=lost+found
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
3 MYDIR=/home
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
4
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
5 for file in $(ls ${MYDIR}) ; do\
25
4797b096efab bing4desktop-0.240208-0.1
prymula <prymula76@outlook.com>
parents: 24
diff changeset
6 if [[ $file != $exclude ]]
24
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 13
diff changeset
7 then
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 13
diff changeset
8 cp bing4desktop.desktop /home/${file}/.local/share/applications
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 13
diff changeset
9 fi
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
10 done