comparison 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
comparison
equal deleted inserted replaced
24:02409f02eea6 25:4797b096efab
1 #?/bin/sh 1 #?/bin/sh
2 exclude=lost+found 2 exclude=lost+found
3 MYDIR=/home 3 MYDIR=/home
4 4
5 for file in $(ls ${MYDIR}) ; do\ 5 for file in $(ls ${MYDIR}) ; do\
6 if [[ $file == $exclude ]] 6 if [[ $file != $exclude ]]
7 then 7 then
8 cp bing4desktop.desktop /home/${file}/.local/share/applications 8 cp bing4desktop.desktop /home/${file}/.local/share/applications
9 fi 9 fi
10 done 10 done