2025-03-17, 11:34 PM
(This post was last modified: 2025-03-18, 04:30 PM by TheDreadPirate. Edited 4 times in total.)
For anyone running *{Apps we don't talk about - TDP} that want to automate a symbolic link, here's a script I threw together that should work:
#!/bin/bash
#Prevent errors when saving/testing
if [[ "${Apps we don't talk about - TDP}_eventtype" == "Test" ]]; then
exit
fi
#set the symbolic link path + save folder name from {Apps we don't talk about - TDP}
symlink_dest="user's root path/$(basename "${Apps we don't talk about - TDP}_series_path")"
#only create the symlink if the folder doesn't exist
if [[ ! -L "$symlink_dest" ]]; then
ln -s "${Apps we don't talk about - TDP}_series_path" "$symlink_dest"
fi
#!/bin/bash
#Prevent errors when saving/testing
if [[ "${Apps we don't talk about - TDP}_eventtype" == "Test" ]]; then
exit
fi
#set the symbolic link path + save folder name from {Apps we don't talk about - TDP}
symlink_dest="user's root path/$(basename "${Apps we don't talk about - TDP}_series_path")"
#only create the symlink if the folder doesn't exist
if [[ ! -L "$symlink_dest" ]]; then
ln -s "${Apps we don't talk about - TDP}_series_path" "$symlink_dest"
fi