從預設上傳位置、收件匣或寄件匣、資料管理資料夾或從 profitinbox/profitoutbox 刪除檔案或快照。
若要從預設上傳位置以外的位置刪除檔案,您必須指定檔案位置。
如果在進行產生或封存程序時執行此命令以刪除快照,您將會收到以下其中一個錯誤:
找不到檔案
- 如果正在產生快照,會收到此錯誤 (找不到檔案)Archieve process is in progress. Unable to Rename or Delete
- 如果正在封存快照,會收到此錯誤 (封存程序正在進行中。無法重新命名或刪除)適用於
Planning、Planning 模組、FreeForm、Financial Consolidation and Close、Tax Reporting、Account Reconciliation、Profitability and Cost Management、Enterprise Profitability and Cost Management、Oracle Enterprise Data Management Cloud、Narrative Reporting、Sales Planning 及 Strategic Workforce Planning。
必要角色
服務管理員、指派給「移轉管理員」應用程式角色的超級使用者
用法
epmautomate deleteFile FILE_NAME
註:
您必須指定檔案名稱 (包含副檔名);例如,data.csv
、data.zip
(如果適用)。您可以刪除快照,而不指定其副檔名 (.ZIP)。但是,此用法已過時。如果檔案不在預設位置,您應該指定檔案的位置。如需詳細資訊,請參閱預設檔案位置。支援的位置包括 inbox
、profitinbox
、outbox
、profitoutbox
、to_be_imported
和 inbox/directory_name
。
範例
epmautomate deleteFile data.csv
epmautomate deleteFile inbox/data.csv
epmautomate deleteFile outbox/data.csv
epmautomate deleteFile "Backup 18-06-12.zip"
或epmautomate deleteFile "Backup 18-06-12"
(已過時)epmautomate deleteFile profitinbox/data.csv
epmautomate deleteFile profitoutbox/data.csv
epmautomate deleteFile inbox/dm_data/data.csv
epmautomate deleteFile outbox/dm_data/data.csv