desktop-windows/paths.sh

33 lines
1.4 KiB
Bash
Raw Permalink Normal View History

2023-08-06 22:42:52 +02:00
MERGE_DIR='/media/dym/2C4E14E74E14AB98/_/'
WND_USER='/media/dym/2C4E14E74E14AB98/Users/dym'
mv -R "$WND_USER/Videos/Captures/*" $MERGE_DIR
mv -R "$WND_USER/Pictures/Screenshots/*" $MERGE_DIR
mv -R "$WND_USER/Pictures/Saved Pictures/*" $MERGE_DIR
mv -R "$WND_USER/Pictures/Camera Roll/*" $MERGE_DIR
mv -R "$WND_USER/Desktop/*" $MERGE_DIR
mv -R "$WND_USER/Downloads/*" $MERGE_DIR
mv -R "$WND_USER/Music/*" $MERGE_DIR
mv -R "$WND_USER/Documents/*" $MERGE_DIR
mv -R "$WND_USER/AppData/Local/Packages/Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy/LocalState/Assets/*" $MERGE_DIR
rm -rf "$WND_USER/Videos/Captures"
rm -rf "$WND_USER/Pictures/Screenshots"
rm -rf "$WND_USER/Pictures/Saved Pictures"
rm -rf "$WND_USER/Pictures/Camera Roll"
rm -rf "$WND_USER/Desktop"
rm -rf "$WND_USER/Downloads"
rm -rf "$WND_USER/Music"
rm -rf "$WND_USER/Documents"
rm -rf "$WND_USER/AppData/Local/Packages/Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy/LocalState/Asset"
ln -s $MERGE_DIR "$WND_USER/Videos/Captures"
ln -s $MERGE_DIR "$WND_USER/Pictures/Screenshots"
ln -s $MERGE_DIR "$WND_USER/Pictures/Saved Pictures"
ln -s $MERGE_DIR "$WND_USER/Pictures/Camera Roll"
ln -s $MERGE_DIR "$WND_USER/Desktop"
ln -s $MERGE_DIR "$WND_USER/Downloads"
ln -s $MERGE_DIR "$WND_USER/Music"
ln -s $MERGE_DIR "$WND_USER/Documents"
ln -s $MERGE_DIR "$WND_USER/AppData/Local/Packages/Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy/LocalState/Asset"