Skip to main content

folder

Watch Folders

Examples. Prefix: UN_FOLDER_, Header: [[folder]]
  • Using the config file:
##################################################################################
### ### STOP HERE ### STOP HERE ### STOP HERE ### STOP HERE #### STOP HERE ### #
### Only using Starr apps? The things above. The below configs are OPTIONAL. ### #
##################################################################################


##-Folders-#######################################################################
## This application can also watch folders for things to extract. If you copy a ##
## subfolder into a watched folder (defined below) any extractable items in the ##
## folder will be decompressed. This has nothing to do with Starr applications. ##
##################################################################################
[[folder]]
path = '/downloads/auto_extract'
## Path to extract files to. The default (leaving this blank) is the same as `path` (above).
extract_path = ''
## Delete extracted or original files this long after extraction.
## The default is 0. Set to 0 to disable all deletes. Uncomment it to enable deletes. Uses Go Duration.
delete_after = "10m"
## Unpackerr extracts archives inside archives. Set this to true to disable recursive extractions.
disable_recursion = false
## Delete extracted files after successful extraction? delete_after must be greater than 0.
delete_files = false
## Delete original items after successful extraction? delete_after must be greater than 0.
delete_original = false
## Disable extraction log (unpackerred.txt) file creation?
disable_log = false
## Move extracted files into original folder? If false, files go into an _unpackerred folder.
move_back = false
## Set this to true if you want this app to extract ISO files with .iso extension.
extract_isos = false
  • Using environment variables:
## Watch Folders
UN_FOLDER_0_PATH=/downloads/auto_extract
UN_FOLDER_0_EXTRACT_PATH=
UN_FOLDER_0_DELETE_AFTER=10m
UN_FOLDER_0_DISABLE_RECURSION=false
UN_FOLDER_0_DELETE_FILES=false
UN_FOLDER_0_DELETE_ORIGINAL=false
UN_FOLDER_0_DISABLE_LOG=false
UN_FOLDER_0_MOVE_BACK=false
UN_FOLDER_0_EXTRACT_ISOS=false

Folders are a way to watch a folder for things to extract. You can use this to monitor your download client's "move to" path if you're not using it with an Starr app.

Config NameVariable NameDefault / Note
pathUN_FOLDER_0_PATHNo Default / Folder to watch for archives. Not for Starr apps.
extract_pathUN_FOLDER_0_EXTRACT_PATHNo Default / Where to extract to. Uses path if not set.
delete_afterUN_FOLDER_0_DELETE_AFTER"10m" / Delete requested files after this duration; 0 disables.
disable_recursionUN_FOLDER_0_DISABLE_RECURSIONfalse / Setting this to true disables extracting archives inside archives.
delete_filesUN_FOLDER_0_DELETE_FILESfalse / Delete extracted files after successful extraction.
delete_originalUN_FOLDER_0_DELETE_ORIGINALfalse / Delete archives after successful extraction.
disable_logUN_FOLDER_0_DISABLE_LOGfalse / Turns off creation of extraction logs files for this folder.
move_backUN_FOLDER_0_MOVE_BACKfalse / Move extracted items back into original folder.
extract_isosUN_FOLDER_0_EXTRACT_ISOSfalse / Setting this to true enables .iso file extraction.