annotate bing4desktop/copy_desktop.sh @ 24:02409f02eea6

bing4desktop-0.240208-0
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:37:04 +0100
parents 73fd89b46da4
children 4797b096efab
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\
24
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 13
diff changeset
6 if [[ $file == $exclude ]]
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