---
title: "How to batch-convert images into PVR files on macOS / Linux?"
description: "How to batch convert images to PVR and other formats"
canonical: "https://www.codeandweb.com/texturepacker/knowledgebase/batch-converting-images-to-pvr-or-pvr-ccz"
product: "texturepacker"
source: "html"
---

# How to batch-convert images into PVR files on macOS / Linux?

You can use TexturePacker to simply convert a complete directory of images with a single command line call into whatever output format you need (pvr.ccz in this example):

```bash
find <directoryname> -name \*.png | sed 's/\.png//g' | \
    xargs -I % -n 1 TexturePacker %.png \
        --sheet %.pvr.ccz \
        --data dummy.plist \
        --algorithm Basic \
        --allow-free-size \
        --no-trim \
        --opt RGBA4444 \
        --dither-fs
```

Replace `directoryname` with the directory to search.

## Structured data

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "How to batch-convert images into PVR files on macOS / Linux?"
}
```
