This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Output file where all .ics files will be combined | |
| OUTPUT_FILE="combined.ics" | |
| # Check if any .ics files exist in the directory | |
| if ls *.ics 1> /dev/null 2>&1; then | |
| echo "Combining all .ics files into $OUTPUT_FILE..." | |
| # Start with an empty output file (or create a new one) |