if [ ! -L /var/www/deploy/fgoptionalunusedvideosbin ]; then echo "Directory link missing or broken. Re-linking asset folder..." ln -s /mnt/storage/unused_videos_bin /var/www/deploy/fgoptionalunusedvideosbin fi Use code with caution. Storage and Performance Implications
If optional implies you want to keep the video but not include it in the current build, replace the actual file with a symlink. In Linux/macOS, run ln -s /path/to/original.mov link_name.mov . This ensures the project structure is correct without doubling storage. fgoptionalunusedvideosbin link