Back to skills
extension
Category: Development & EngineeringNo API key required

drive-list

Get a list of files in Google Drive. Can be launched with terms like "Drive list", "want to see the drive's files", "recent files", "show Drive list", "file list", "Google Drive list", "display drive".

personAuthor: jakexiaohubgithub

Drive List

Google Drive のファイル一覧を取得します。

実行方法

アクティブプロファイルで一覧を取得

python plugins/shiiman-google/skills/drive-list/scripts/google_drive.py list

プロファイル指定で一覧を取得

python plugins/shiiman-google/skills/drive-list/scripts/google_drive.py list --profile <profile-name>

最大件数を指定

python plugins/shiiman-google/skills/drive-list/scripts/google_drive.py list --max 50

JSON 形式で出力

python plugins/shiiman-google/skills/drive-list/scripts/google_drive.py --format json list

出力項目

  • id: ファイルID
  • name: ファイル名
  • mimeType: ファイル種類
  • modifiedTime: 更新日時
  • webViewLink: URL

関連操作

  • 検索する: drive-search を実行
  • 共有設定を確認: drive-get-permissions を実行
  • 共有する: drive-share を実行

注意事項

  • トークン未作成の場合は「Google ログイン」と言って認証を行ってください