To automatically extract slide decks (like PowerPoint or Google Slides files) from folders, you can use a script or tool that scans the folder, identifies slide files, and extracts them. The exact method depends on your platform and the file types you’re working with. Here’s a breakdown of potential solutions for different environments:
1. Windows (PowerShell Script)
You can use PowerShell to search for .pptx (PowerPoint) files in a specific folder and subfolders and extract them to another location:
This will scan the entire folder and its subdirectories for .pptx files and copy them to your destination folder.
2. MacOS (Automator + AppleScript)
If you’re on macOS, you can use Automator to create a service that searches for PowerPoint files in a specific folder.
-
Open Automator and create a new workflow.
-
Add a “Find Finder Items” action and set it to search for
.pptxfiles in a folder. -
Add the “Copy Finder Items” action to move the files to a new location.
3. Google Drive (Google Apps Script)
For Google Slides files stored in Google Drive, you can use Google Apps Script to scan a folder for Google Slides files and copy them to another folder.
Here’s an example script to do this:
-
To use this, open the Google Apps Script editor, paste the script, and run it.
4. Linux (Bash Script)
For Linux, a simple bash script can be used to find .pptx files in a folder and copy them to another directory:
This will search the source_folder for all .pptx files and copy them to the destination_folder.
5. Cloud Solutions (Zapier, Integromat)
If you prefer a no-code solution, platforms like Zapier or Integromat (now Make) allow you to create workflows that automatically move files between cloud services. You could set up an automation to detect new slide decks in a specific folder and copy or extract them to another location.
Would you like help with a specific platform or type of file?