|
@@ -2,7 +2,7 @@
|
2
|
2
|
#
|
3
|
3
|
|
4
|
4
|
BASE_FOLDERS="data Downloads media_images Videos C64"
|
5
|
|
-VIP_FOLDERS="prj Schreibtisch"
|
|
5
|
+VIP_FOLDERS="prj prj/Arduino Schreibtisch"
|
6
|
6
|
|
7
|
7
|
|
8
|
8
|
echo The following folders will be deleted:
|
|
@@ -17,10 +17,10 @@ read -r -p "Are you sure? [y/N] " response
|
17
|
17
|
case "$response" in
|
18
|
18
|
[yY][eE][sS]|[yY])
|
19
|
19
|
for folder in $BASE_FOLDERS; do
|
20
|
|
- rm -f $HOME/$folder; ln -s /usr/data/$USER/$folder $HOME
|
|
20
|
+ rm -rf $HOME/`basename $folder`; ln -s /usr/data/$USER/$folder $HOME
|
21
|
21
|
done
|
22
|
22
|
for folder in $VIP_FOLDERS; do
|
23
|
|
- rm -rf $HOME/$folder; ln -s /usr/data/$USER/data/$folder $HOME
|
|
23
|
+ rm -rf $HOME/`basename $folder`; ln -s /usr/data/$USER/data/$folder $HOME
|
24
|
24
|
done
|
25
|
25
|
;;
|
26
|
26
|
*)
|