Unpacking large .ZIP archives
Using Bamboo
- Configuring plans
- Linking to source code repositories
- Triggering builds
- Using stages in a plan
- Jobs and tasks
- Sharing artifacts
- Working with builds
- Deployment projects
- Getting feedback
- Integrating Bamboo with other applications
- Managing your user profile
- Bamboo variables
- Bamboo permissions
- Quick filters for Bamboo
- Unpacking large .ZIP archives
- Personal access tokens
On this page
Related content
- Unicode characters are not displayed correctly after enabling transcoding diffs in a repository in Bitbucket Data Center
- Unicode characters are not displayed correctly after enabling transcoding diffs in a repository in Bitbucket Data Center
- Pull request diff cannot be displayed due to "fatal: cannot exec './transcode.pl': Permission denied" error
- The diff in pull requests is showing unrelated files after upgrade of Bitbucket Server or Data Center to 7.x or 2-way diff change.
- Accented or extended UTF-8 characters cause "Malformed input or input contains unmappable characters" error
- Understanding Diff view in Bitbucket Server
- Compare branches, tags, and commits
- Moving Git large files to Git LFS in Bitbucket Server
- PR Diff shows different content from the actual file content in Bitbucket Datacenter
- How to delete a branch with non-UTF-8 characters in the branch name in Bitbucket Server and Data Center
We noticed that the TrueZIP archiver used by Bamboo might be incompatible with some binaries for archives exceeding 4 GB. In order to extract files from a large archive, use the following script:
TrueZIP extractor
#! /bin/sh
TRUEZIP_JAR=truezip-samples-7.7.9-jar-with-dependencies.jar
if [ ! $# -eq 1 ]; then
echo "Usage:"
echo " $0 [bambooCloudExportFile]"
exit 1
fi
BAMBOO_EXPORT_FILE=$1
if [ ! -f $BAMBOO_EXPORT_FILE ]; then
echo Can not access $BAMBOO_EXPORT_FILE
exit 1
fi
if [ ! -f $TRUEZIP_JAR ]; then
echo Downloading TrueZip JAR ...
curl -s https://repo1.maven.org/maven2/de/schlichtherle/truezip/truezip-samples/7.7.9/$TRUEZIP_JAR -o $TRUEZIP_JAR
fi
if [ -d bamboo-home ]; then
echo Directory bamboo-home exists, please remove it before proceeding
exit 1
fi
if [ -d database ]; then
echo Directory database exists, please remove it before proceeding
exit 1
fi
echo Unzipping Bamboo HOME directory ...
java -jar $TRUEZIP_JAR cp $BAMBOO_EXPORT_FILE/bamboo-home bamboo-home
echo Unzipping Bamboo database ...
java -jar $TRUEZIP_JAR cp $BAMBOO_EXPORT_FILE/database database
Last modified on May 24, 2016
Related content
- Unicode characters are not displayed correctly after enabling transcoding diffs in a repository in Bitbucket Data Center
- Unicode characters are not displayed correctly after enabling transcoding diffs in a repository in Bitbucket Data Center
- Pull request diff cannot be displayed due to "fatal: cannot exec './transcode.pl': Permission denied" error
- The diff in pull requests is showing unrelated files after upgrade of Bitbucket Server or Data Center to 7.x or 2-way diff change.
- Accented or extended UTF-8 characters cause "Malformed input or input contains unmappable characters" error
- Understanding Diff view in Bitbucket Server
- Compare branches, tags, and commits
- Moving Git large files to Git LFS in Bitbucket Server
- PR Diff shows different content from the actual file content in Bitbucket Datacenter
- How to delete a branch with non-UTF-8 characters in the branch name in Bitbucket Server and Data Center
Powered by Confluence and Scroll Viewport.