Skip to content
Back

I am trying to run appwrite storage list-files cmd and it only returns 25 of my bucket storage files

  • 0
  • 2
  • Web
  • Storage
knightlypeacock
13 Oct, 2025, 08:05

Hello! I am trying to use a command to return all of my files from my bucket. This is the cmd I am currently running: "appwrite storage list-files --bucket-id <BUCKET_ID> --json > appwrite_files.json" It only returns 25 of my storage files. I need it to return everything I have in there.

TL;DR
The user was having trouble getting all the files from a bucket using the appwrite storage list-files command, as it only returned 25 files. Instructions were provided to pass in a limit query using the --query parameter for a higher limit and an example command was given. The user confirmed that it worked.
13 Oct, 2025, 09:32

If I can just get an export from an admin that would help me tremendously!

13 Oct, 2025, 10:49

you can pass in a limit query using the --query param

13 Oct, 2025, 17:51

<@743532656767270934> Could you give me an example? Would it be: appwrite storage list-files —bucket-id <BUCKET_ID> —query —limit 15000 —json > appwrite_files.json

13 Oct, 2025, 20:54

I got this to work

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more