App Logo
drive.google.com

Move a Google Drive file to another folder

Automatically move a Google Drive file to another folder on drive.google.com. Move a file to a different folder in Google Drive, given the file's id and the destination folder's id.

Input

fileId required

Google Drive file id to move, i.e. the <id> in drive.google.com/file/d/<id>/view

folderId required

Destination folder id, i.e. the <id> in drive.google.com/drive/folders/<id>

confirmAccessChange optional

Moving a file out of a shared folder removes access for people who could only see it through that folder, and Drive asks for confirmation first. Set true to confirm that change. When false and Drive asks, the move is cancelled and an error is returned.

Default: false

Output

fileId required
folderId required

FAQ

Move a file to a different folder in Google Drive, given the file's id and the destination folder's id.
Ask an AI agent connected to Reduck to run reduck/drive.google.com/move_file, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drive.google.com/move_file
You do not need one. "Move a Google Drive file to another folder" drives the real drive.google.com pages in a browser, so it works whether or not drive.google.com offers an API for this.
Required: fileId, folderId. Optional: confirmAccessChange.
It returns fileId, folderId.
Yes. It acts as you on drive.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the drive.google.com cookies saved by the Reduck extension.
It makes changes on drive.google.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/drive.google.com/move_file, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/drive.google.com/move_file
It is part of Reduck's official curated catalogue.

Start building not clicking