File size: 667 Bytes
704bc64
 
 
 
 
 
 
d1778f2
704bc64
 
73f1392
c27d5c6
73f1392
c27d5c6
73f1392
c27d5c6
 
73f1392
c27d5c6
 
73f1392
c27d5c6
 
73f1392
c27d5c6
0914da1
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: Dduf Check
emoji: 🌍
colorFrom: indigo
colorTo: gray
sdk: docker
pinned: false
app_port: 3000
---

# DDUF Check

This spaces analyzes a file and checks if it is a DDUF file. A DDUF file is an uncompressed ZIP that contains .json and .safetensors files, with max one level of nesting.

You can generate a simple DDUF file by running the following command:

```bash
cd dduf-content && zip -r -0 ../file.dduf .
```

You can try zip 64 format by running the following command:

```bash
cd dduf-content && zip -r -0 -fz ../file-64.dduf .
```

## Credits

- https://en.wikipedia.org/wiki/ZIP_(file_format)
- https://blog.yaakov.online/zip64-go-big-or-go-home/