Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从命令行运行我的 phpbb 论坛文件的定期备份:
now=$(date +"%m%d%Y") zip -r phpbb_complete_file_backup_$now ~/public_html/forum/*
我想在文件名中添加小时和分钟(24 小时制,如果可能,同步到太平洋标准时间)。我该怎么做?
嗯...
now=$(date +"%m%d%Y-%H%M") zip -r phpbb_complete_file_backup_$now ~/public_html/forum/*
男士日期了解详情。