This file contains 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 | |
# Check if ffmpeg is installed | |
if ! command -v ffmpeg &> /dev/null; then | |
echo "Error: ffmpeg is not installed. Please install it and try again." | |
exit 1 | |
fi | |
# Input file and output directory | |
INPUT_FILE="$1" |
This file contains 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
/* | |
Step 1: Create a new Google Sheets document. | |
Step 2: Open the script editor by going to "Extensions" -> "Apps Script" in the menu. | |
Step 3: In the script editor, delete any existing code and write the following code: | |
Step 4: Save the script by clicking on the floppy disk icon or using "File" -> "Save". | |
Step 5: Deploy the script as a web app by going to "Publish" -> "Deploy as web app" in the menu. | |
Configure the deployment settings as follows: | |
Project version: New | |
Execute the app as: Me | |
Who has access to the app: Anyone, even anonymous |