cloudpack の 三浦 剛慈です。 windowサーバ用に、ローカルの指定ディレクトリ配下のファイルで指定期間を過ぎているものに対して、バックアップ(move)・削除・S3アップロードを行うスクリプトをpowershellで書きました。 ディレクトリファイルは対象外としています。 ログファイルのバックアップ処理等に利用出来ると思います。 ファイル名:fileOp.ps1 param ( [int ]$days=0, [string]$SrcDirpath, [string]$DestDirpath, [string]$S3backetPath, [switch]$del, [switch]$mv, [switch]$s3up ) function checkparam([string]$ldel,[string]$lmv,[string]$ls3up,[string]$lSrcDir