# deprecated-sqscmd **Repository Path**: mirrors_mapbox/deprecated-sqscmd ## Basic Information - **Project Name**: deprecated-sqscmd - **Description**: Helper for using SQS simply in bash scripting. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README sqscmd ------ Helper for using SQS simply in bash scripting. Makes assumptions, like expecting your AWS credentials to be in `~/.s3cfg`. sudo npm install -g https://github.com/mapbox/sqscmd/tarball/master Usage: sqscmd get sqscmd put sqscmd del Example: sqscmd 185391239583/testing put "Hello world" Actual usage example: #!/bin/bash SQS="185391239583/testing" # Queue a URL to process. sqscmd $SQS put "http://example.com/to/download.tar.gz" # Retrieve queued message and store handle/body. RAW=$(sqscmd $SQS get) URL="$(echo "$RAW" | grep -oE "[^ ]+$")" HANDLE="$(echo "$RAW" | grep -oE "^[^ ]+")" # Process the item & remove from queue if successful. wget $URL && sqscmd $SQS del $HANDLE