
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Thinice is a user-friendly client for AWS Glacier that features a local inventory. This local inventory allows you to instantly list uploaded archives, as retrieving inventory from Glacier can take several hours.
With the local inventory, you can quickly list archives by filename (ArchiveDescription), size, and upload age.
pipx method is recommended (pipx is easy to install).
pipx install thinice
or (better if in virtualenv):
pip3 install thinice
Create the config directory using the command mkdir ~/.config/thinice
, and then create the config file at ~/.config/thinice/thinice.env
. Here’s an example:
AWS_ACCESS_KEY_ID = AK...
AWS_SECRET_ACCESS_KEY = FN...
AWS_REGION = eu-south-1
AWS_GLACIER_VAULT = mytest
Alternatively, you can supply this information via options: --key-id
, --secret-key
, --region
, and --vault
.
First, you need to initialize the local inventory:
# Request inventory
thinice inventory
# Monitor when the job is complete (this may take a few hours)
thinice job
# Accept the inventory with the same command
thinice inventory
# Now you can list files
thinice ls
Thinice supports multipart uploads and can handle upload of very large files
# No description explicitly given, description will be myarchive.zip
thinice upload /path/to/myarchive.zip
# Upload with description
thinice upload /path/to/myarchive.zip "My archive from 01/02/2003"
# To download, we should *warm* the file by transitioning it from cold to warm storage
# Here we use expedited retrieval tier to get file very fast.
thinice request myarchive.zip -t expedited
# Or by the first part of the ArchiveId (default: standard tier)
thinice request S39to
# Monitor the list to see when it becomes warm (this will take a few hours)
thinice ls
# Finally, download it
# A file with the description MyServer.tar.gz will be saved as MyServer.tar.gz (only if the description is a filename)
thinice download myarchive.zip
# Download a file with an ArchiveId starting with these characters
thinice download S39to myarchive.zip
# delete archive with this ArchiveId
thinice delete S39to
# delete all archives with this ArchiveDescription
thinice delete myarchive.zip
# help
thinice -h
thinice download -h
# list vaults
thinice vaults
# list jobs
thinice jobs
FAQs
Human-friendly Amazon glacier API
We found that thinice demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.