cloudcmd icon indicating copy to clipboard operation
cloudcmd copied to clipboard

How to support multi-threaded packaging

Open MitaHill opened this issue 11 months ago • 4 comments
trafficstars

Well I am a new user. Where is the packaging code? I hope to change the packaging code to "tar -cf - [source] --exclude=[packaged file] | pigz -p [number of threads] > packaged file" so that the compression speed can be faster. As far as I know, the current packaging can only use one core for compression. I think this speed is very slow, so I want to modify it. If anyone knows, please tell me which file, which line of code, and how to modify it. and Thank you.

  • Version v18.4.0
  • Node Version v18.19.0
  • OS Linux debian 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
  • Browser name/version:Chrome
  • Used Command Line Parameters:nothing
  • Changed Config:
  • [ ] I'm ready to donate on Patreon 🎁
  • [ ] I'm willing to work on this issue 💪

MitaHill avatar Dec 09 '24 17:12 MitaHill

User Menu is best for your purpose.

coderaiser avatar Dec 09 '24 20:12 coderaiser

ok i see  i will try and thanks 

------------------ 原始邮件 ------------------ 发件人: "coderaiser/cloudcmd" @.>; 发送时间: 2024年12月10日(星期二) 凌晨4:49 @.>; @.@.>; 主题: Re: [coderaiser/cloudcmd] How to support multi-threaded packaging (Issue #431)

User Menu is best for your purpose.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

MitaHill avatar Dec 10 '24 05:12 MitaHill

You can use it as example https://github.com/coderaiser/cloudcmd/wiki/User-Menu-Cookbook#convert-flac-or-mp4-to-mp3-and-put-to-mp3-directory, and update cookbook with your way of packing.

coderaiser avatar Dec 10 '24 10:12 coderaiser

Is it works for you?

coderaiser avatar Dec 20 '24 08:12 coderaiser

Have you tried to use User Menu?

coderaiser avatar Jul 26 '25 11:07 coderaiser