/xcassetsutils

Shell Scripts to extract and restore all the images in an Asset Catalog folder (.xcassets)

Primary LanguageShellMIT LicenseMIT

xcassetsutils

Shell Scripts to extract and restore all the images in an Asset Catalog folder (.xcassets)

This is a simple script that can be used to extract all the images from an Asset Catalog folder (.xcassets) to ./output folder, to use:

./extractImages.sh < path to the directory where the *.xcassets is placed >

This is a simple script that can be used to restore all the images extracted previously (in output folder) from an Asset Catalog folder (.xcassets), to use:

./restoreImages.sh < path to the directory where the *.xcassets is placed and the output folder >

Attention: Doesn't work if you have two files with the same name in .xcassets folder