sync-content
21
总安装量
2
周安装量
#17195
全站排名
安装命令
npx skills add https://github.com/forever-efficient/pitfal-solutions-website --skill sync-content
Agent 安装分布
mcpjam
2
qwen-code
2
windsurf
2
crush
2
claude-code
2
Skill 文档
Sync Content to S3
Sync local gallery content to AWS S3 bucket.
Arguments
$ARGUMENTS– Optional: specific gallery folder to sync
Steps
-
Verify AWS credentials:
aws sts get-caller-identity --profile pitfal -
Sync all media files:
aws s3 sync ./content/galleries/ s3://pitfal-media/galleries/ \ --profile pitfal \ --exclude "*.DS_Store" \ --exclude "*.tmp" \ --exclude ".git/*" -
Report files uploaded and total size
For Specific Gallery
If $ARGUMENTS is provided:
aws s3 sync ./content/galleries/$ARGUMENTS/ s3://pitfal-media/galleries/$ARGUMENTS/ \
--profile pitfal \
--exclude "*.DS_Store"
Dry Run (Preview Only)
To see what would be synced without uploading:
aws s3 sync ./content/galleries/ s3://pitfal-media/galleries/ \
--profile pitfal \
--dryrun
Output
Report:
- Number of files uploaded
- Number of files deleted (if –delete used)
- Total data transferred
- S3 bucket URL