Raised This Month: $32 Target: $400
 8% 

[ANY] Making files quickly bzip2(bz2) for fastdl


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Noora
New Member
Join Date: May 2019
Old 09-24-2019 , 07:39   [ANY] Making files quickly bzip2(bz2) for fastdl
Reply With Quote #1

Description
Converts files to bz2 format for fastdl.
Usage: Save the codes below as start.bat, and drag the maps onto them.

Code:
@Echo Off
:Start
If [%1==[ Goto :EOF
PushD %~pd1
"C:\Program Files\7-Zip\7z.exe" u -tbzip2 %~nx1.bz2 %1
Shift
PopD
Goto Start

Last edited by Noora; 09-24-2019 at 07:42.
Noora is offline
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
Old 09-24-2019 , 11:19   Re: [ANY] Making files quickly bzip2(bz2) for fastdl
Reply With Quote #2

Or on Linux or WSL folks, find all files and pass max process (-P) for parallel compression.

Code:
find . -type f -print0 | xargs -0 -n1 -P6 bzip2
__________________
RumbleFrog is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-24-2019 , 12:43   Re: [ANY] Making files quickly bzip2(bz2) for fastdl
Reply With Quote #3

For Linux I made a tool for easy compressing.

https://github.com/Maxximou5/compressor
Maxximou5 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode