> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 프로젝트 소유권 일괄 이전

```bash wrap theme={null}
# email based
toolkit$ bin/run-script modules/server-ce-scripts/scripts/transfer-all-projects-to-user.mjs --from-user=alice@example.com --to-user=bob@example.com

# user-id based
tookit$ bin/run-script modules/server-ce-scripts/scripts/transfer-all-projects-to-user.mjs --from-user=68880f000000000000000000 --to-user=68880f000000000000000001

# Legacy docker-compose.yml setup:
$ docker exec sharelatex /bin/bash -c "source /etc/overleaf/env.sh && source /etc/container_environment.sh && cd /overleaf/services/web && node ./modules/server-ce-scripts/scripts/transfer-all-projects-to-user.mjs --from-user=alice@example.com --to-user=bob@example.com"
```

## 플래그

| 이름 | 설명 |
| - | - |
| `--from-user` | 현재 프로젝트 소유자의 이메일 또는 사용자 ID |
| `--to-user` | 새 프로젝트 소유자의 이메일 또는 사용자 ID |

## 완료

오류로 인해 스크립트가 중간에 종료되면 오류를 출력하고 실패를 나타내는 코드 1로 종료합니다.

마이그레이션이 성공적으로 완료되면 "Done"을 출력하고 코드 0으로 종료합니다.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.