Bu belge, DriveSyncer uygulamasını yapılandırma ve kullanma işlemleri hakkında adımları içermektedir.
Setup.txtdosyasını bir metin düzenleyici ile açın.- Dosyayı aşağıdaki biçimde düzenleyin:
LocalKlasorAdi,DriveKlasorID. - Değişiklikleri kaydedin.
LocalKlasorAdi,Setup.txtvedrivesyncer.jsondosyalarının aynı konumda bulunması gerekmektedir.- Bu dosyalar,
DriveSyncer.exeile aynı klasörde bulunmalıdır.
Drive Klasör Kimliği (ID) gerektiğinde aşağıdaki adımları takip edin:
- https://drive.google.com/drive/folders/ "12pbpmOMKomiDYrSNgvAnXMw_wlvnxqOn" <-- Klasör ID'si.
- Klasörün URL'sinde bulunan Klasör Kimliği (ID) not edin.
Hizmet Hesabı oluşturmak için aşağıdaki adımları takip edin:
- Google Cloud Console adresine gidin.
- Yeni bir Google Drive API Projesi oluşturun.
- Service Account (Hizmet Hesabı) oluşturun.
- Oluşturulan e-posta hesabına ana Google Drive yetkilerini verin.
credential.jsondosyasını indirin ve bu dosyayıdrivesyncer.jsonadıylaDriveSyncer.exeile aynı klasöre kaydedin.
Google Drive için desteklenen Mime Türleri hakkında daha fazla bilgi için buraya bakabilirsiniz.
Drive belgelerini yükleme ve yönetme konusunda daha fazla bilgi için aşağıdaki kaynaklara başvurabilirsiniz:
This document contains steps for configuring and using the DriveSyncer application.
- Open the
Setup.txtfile with a text editor. - Edit the file in the following format:
LocalFolderName,DriveFolderID. - Save the changes.
LocalFolderName,Setup.txt, anddrivesyncer.jsonfiles should be in the same location.- These files should be in the same folder as
DriveSyncer.exe.
To find the Drive Folder ID when needed, follow these steps:
- Last part of url is your folder id.
- Sample: https://drive.google.com/drive/folders/ --> 12pbpmOMKomiDYrSNgvAnXMw_wlvnxqOn <-- your folder id.
- Note the Folder ID found in the folder's URL.
To create a Service Account, follow these steps:
- Go to Google Cloud Console.
- Create a new Google Drive API Project.
- Create a Service Account.
- Grant the Service Account permissions to access your main Google Drive.
- Download the
credential.jsonfile and save it in the same folder asDriveSyncer.exewith the namedrivesyncer.json.
For more information about supported Mime Types for Google Drive, refer to this link.
For information on uploading and managing Drive documents, refer to the following resources: