PSP3D Left Header
PSP3D Header Right
PSP3D Logo CraveOnline Logo
Help the PSP 3D community grow!
Vote for us below:


Vote on the PSP Top 200
PSP Top 200 - Games, Videos, Wallpapers, Files, Hacks, Homebrew

Off Topic - Topics not of/relating to the PSP.

Welcome to PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums!

You are currently viewing our website as a guest, which gives you limited access to reply and interact to discussions and other members. By joining our free community, you will be able to post topics in the forums, communicate privately with other members, vote in polls, and access many other special features.

Registration is fast, simple, and absolutely free so join our community today!

Go Back PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums > Main > Off Topic
Tags: compressionfile [X]


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-28-2007, 11:51 AM
dorkdork777's Avatar
dorkdork777 dorkdork777 is offline
Moderator / Pastafarian
My Mood:
 
Join Date: Jan 2006
Location: sda1:/sys/kernel
Posts: 2,422
Points: 354.51
Donate
Send a message via MSN to dorkdork777
Need a good batch compression program

I'll make this short. I'm looking for a Windows app that can batch compress many files into the 7-Zip format (.7z), but I want it to make a new archive for each file and name it accordingly. I was wondering if anyone here knows of such a program? Thanks in advance for the help!

EDIT: 250 points go to the first user who mentions a good program!
__________________

Last edited by dorkdork777 : 03-28-2007 at 12:26 PM.
Reply With Quote
  #2 (permalink)  
Old 03-28-2007, 05:12 PM
theaceoffire's Avatar
theaceoffire theaceoffire is offline
Senior Member
My Mood:
 
Join Date: Oct 2006
Location: Here.
Posts: 358
Points: 10.47
Donate
Send a message via AIM to theaceoffire Send a message via MSN to theaceoffire Send a message via Yahoo to theaceoffire
Sure, I feel like giving it a go.

First of all, whenever I look for freeware that is small, easy to use, and doesnt require installation, I normally turn to tinyapps.

From them, I would suggest: 7zip 3.12 (Command Line Version) [291k] . (Page here)

That lets you zip and unzip... the rest you can just build into a batch file.

If you don't/can't do that, let me work on it after I turn in these programs.
__________________
Subworld 34 Inc.
(2.60>2.71HenC>1.50)
(1.50>2.71SEA>2.71SEB>2.71SEB`>2.71SEB``>2.71SEC)
(1.50>3.02OEA>3.02OEB>3.03OEA>3.03OEC)
Answer to ALL questions HERE...
Personal Site: Subworld 34 GE
Personal Server: Subworld's Sever
Reply With Quote
  #3 (permalink)  
Old 03-29-2007, 11:02 AM
dorkdork777's Avatar
dorkdork777 dorkdork777 is offline
Moderator / Pastafarian
My Mood:
 
Join Date: Jan 2006
Location: sda1:/sys/kernel
Posts: 2,422
Points: 354.51
Donate
Send a message via MSN to dorkdork777
If you could make the batch file, that would be great! TYVM! Will you accept 500 points for the effort?

(Just one more thing, and this is me being really picky, but could you make it so it compresses them in the Maximum compression level?)
__________________
Reply With Quote
  #4 (permalink)  
Old 03-29-2007, 03:27 PM
theaceoffire's Avatar
theaceoffire theaceoffire is offline
Senior Member
My Mood:
 
Join Date: Oct 2006
Location: Here.
Posts: 358
Points: 10.47
Donate
Send a message via AIM to theaceoffire Send a message via MSN to theaceoffire Send a message via Yahoo to theaceoffire
I am almost done, and GUESS WHAT!

I found out how to get your program's CURRENT DIRECTORY!

Since argument %0 will always be the FULL path to your bat file, %0\.. is the folder that bat is in!

So if you wanted to change to the folder running your program, you can type:
cd %0\..

^_^ This means my program will be a LOT more stable.
__________________
Subworld 34 Inc.
(2.60>2.71HenC>1.50)
(1.50>2.71SEA>2.71SEB>2.71SEB`>2.71SEB``>2.71SEC)
(1.50>3.02OEA>3.02OEB>3.03OEA>3.03OEC)
Answer to ALL questions HERE...
Personal Site: Subworld 34 GE
Personal Server: Subworld's Sever
Reply With Quote
  #5 (permalink)  
Old 03-29-2007, 04:07 PM
dorkdork777's Avatar
dorkdork777 dorkdork777 is offline
Moderator / Pastafarian
My Mood:
 
Join Date: Jan 2006
Location: sda1:/sys/kernel
Posts: 2,422
Points: 354.51
Donate
Send a message via MSN to dorkdork777
TYVM! It will be much appreciated - it's taking forever to compress all these files one by one. 500 points will be coming your way as soon as you release it.
__________________
Reply With Quote
  #6 (permalink)  
Old 03-29-2007, 05:08 PM
theaceoffire's Avatar
theaceoffire theaceoffire is offline
Senior Member
My Mood:
 
Join Date: Oct 2006
Location: Here.
Posts: 358
Points: 10.47
Donate
Send a message via AIM to theaceoffire Send a message via MSN to theaceoffire Send a message via Yahoo to theaceoffire
Ok, I am done testing.

Here is how to use it:

1. Unzip this somewhere.
2. Either drag the folder onto the "BatchZip.bat" file, or start "BatchZip.bat" from the command line.

3.a. If you dragged the folder, it does the rest.

3.b. If you start it from the command line, you can do the following:
0. If you type /?, you will get a list of what the program can do.
I. if you type /d it will date each file with the current date/time
^_^ This is useful for backups.
II. if you type /c and then a number, for example "BatchZip /c 0", it will change the compression level from 9 to 0, which is larger but faster.
III. if you type /t and then zip, rar, etc, it will save that format instead of 7zip. On a side note, you might need to change compression levels also if you do this.

All files will be zipped in the same folder that they exist.


Also, you can have it work on several directories: for example,
C:\test\BatchZip C:\Files1 F:\temp G:\ "C:\Program Files"
would zip every file in each folder.

Hope it is what you need.

{my readme:}
Quote:
The below is data I built into the batch program.

You can access it by typing "BatchZip /?" into the command line.

^_^ Hope you like it!

OH, and you can drag/drop folders onto the BAT if you want to,
or just double click it to have it zip all files in the same
folder as it.

And as always, please keep "CoreData" in the same folder as BatchZip.



This Batch program was made by Donald Mason-Smith
AKA, TheAceOfFire

Just give it a list of the folders, and it will save
each file in that folder as a 7zip file.

Optional commands:
/d ~ date your zip files
/t [type] ~ Type of compressed file [7z default]
~ Other options: [zip,rar,cab,gzip,bzip2,tar,etc]
/c [level] ~ Level of compression [9 default, slow].
~ 7z can handle 0,1,5,7,9
~ Zip can handle 0,5,9

The level of compression can be changed by editing
BatchZip.bat's top few data variables.

Examples of Use:
BatchZip.bat C:\Temp . E:\folder\Folder
BatchZip C:\ D:\Temp F:\here

Examples of Use with Date Stamping:
BatchZip.bat /d relativeFolderToCompress
BatchZip.bat /d ..\..\relativeFolderToCompress
BatchZip /d C:\Temp
BatchZip /d C:\ D:\Temp F:\here

Examples of Use with custom Compression:
BatchZip.bat /c 0 relativeFolderToCompress
BatchZip.bat /c 5 ..\..\relativeFolderToCompress
BatchZip /c 9 C:\Temp
BatchZip /c 1 C:\ D:\Temp F:\here

Examples of Use with custom Type:
BatchZip.bat /t zip relativeFolderToCompress
BatchZip.bat /t rar ..\..\relativeFolderToCompress
BatchZip /t gzip C:\Temp
BatchZip /t tar 1 C:\ D:\Temp F:\here

Examples of Use with all 3:
BatchZip.bat /d /c 5 /t zip relativeFolderToCompress
BatchZip.bat /c 5 /d /t rar ..\relativeFolderToCompress
BatchZip /c 5 /t gzip /d C:\Temp
BatchZip /t tar /c 5 /d tar 1 C:\ D:\Temp F:\here
Sorry for the rapidshare link, my favorite upload site is down right now.
BatchZip.zip


And don't worry about the points, I don't mind helping out someone who helped me.
__________________
Subworld 34 Inc.
(2.60>2.71HenC>1.50)
(1.50>2.71SEA>2.71SEB>2.71SEB`>2.71SEB``>2.71SEC)
(1.50>3.02OEA>3.02OEB>3.03OEA>3.03OEC)
Answer to ALL questions HERE...
Personal Site: Subworld 34 GE
Personal Server: Subworld's Sever

Last edited by theaceoffire : 03-29-2007 at 05:28 PM.
Reply With Quote
  #7 (permalink)  
Old 03-30-2007, 11:33 AM
dorkdork777's Avatar
dorkdork777 dorkdork777 is offline
Moderator / Pastafarian
My Mood:
 
Join Date: Jan 2006
Location: sda1:/sys/kernel
Posts: 2,422
Points: 354.51
Donate
Send a message via MSN to dorkdork777
TYVM! Using it now... 500 points coming your way, no matter how much you say you don't need them!

Only one very minor problem, which is that it doesn't come with a handy batch file that asks you what you want. This is OK for me, but it might not be for other readers of this thread.

I've made a simple and pretty rubbish one, but I found it works OK. To use it, make a new text document next to BatchZip.bat, and call it anything.bat, where anything can be whatever you want. Then, right-click on it, select Edit, and copy this into the window that comes up:

Code:
@echo off echo:This batch file by dorkdork777 is built to complement TheAceOfFire's echo:awesome BatchZip program. SET /P cfrmt="What file format would you like to compress in? [7z/zip]" SET /P clvl="What compression level would you like to compress at? [0/1/5/7/9]" BatchZip.bat /c %clvl% /t %cfrmt%
I'm sure theaceoffire would be able to come up with a much better one if he wanted to though. Anyway, put the files you want to compress next to the two batch files, and double-click the batch file you just created. Hopefully, it'll work.
__________________

Last edited by dorkdork777 : 03-30-2007 at 11:38 AM.
Reply With Quote
  #8 (permalink)  
Old 03-30-2007, 02:02 PM
theaceoffire's Avatar
theaceoffire theaceoffire is offline
Senior Member
My Mood:
 
Join Date: Oct 2006
Location: Here.
Posts: 358
Points: 10.47
Donate
Send a message via AIM to theaceoffire Send a message via MSN to theaceoffire Send a message via Yahoo to theaceoffire
^_^ Yeah, I thought about asking for those, but you did ask for command line.

If you change NOTHING and drag the folder onto the bat, it does it with the settings you ask for.

It also works if you place it in the folder and click it (Although it will zip itself as well)

O.o however, I bet I could set it up to be silent if I routed all output to a log instead of the screen...

^_^ I might work on it a bit later.

The important part: You can pass my program SEVERAL folders, and it will go to each one and work on it.
__________________
Subworld 34 Inc.
(2.60>2.71HenC>1.50)
(1.50>2.71SEA>2.71SEB>2.71SEB`>2.71SEB``>2.71SEC)
(1.50>3.02OEA>3.02OEB>3.03OEA>3.03OEC)
Answer to ALL questions HERE...
Personal Site: Subworld 34 GE
Personal Server: Subworld's Sever
Reply With Quote
  #9 (permalink)  
Old 03-30-2007, 02:16 PM
dorkdork777's Avatar
dorkdork777 dorkdork777 is offline
Moderator / Pastafarian
My Mood:
 
Join Date: Jan 2006
Location: sda1:/sys/kernel
Posts: 2,422
Points: 354.51
Donate
Send a message via MSN to dorkdork777
Yep. I completely know what you're talking about. I'm not baffled at all.

(I've sent you the 500 points in 5 payments of 100, as it didn't let me send them all at once for some reason.)
__________________
Reply With Quote
Reply

« Share your favorite song! | is this the real life »



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 0.00
Points Per Thread: 1.00
Points Per Reply: 0.10

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subworld 34: Merry Xmas! theaceoffire Off Topic 11 12-17-2006 07:39 AM
Beginner FAQ Sheet Birdman1 Getting Started/Help/Tutorials 42 11-05-2006 01:53 AM





Crave Partner Sites: CraveOnline.com | DVDFile.com | PSP3D.com | ComingSoon.net | SuperHeroHype.com | RedBalcony.com | ActionTrip.com | CraveLyrics.com
Soundtrack.net | CraveFix.com | SpikedHumor.com | RPGamer.com | TattooNow.com | ImpactWrestling.com | SeekLyrics.com | PedalBMX.com | WildKO.com
vidKing.com | StrategyInformer.com | HHdb.com | RapLeagues.com | HipHop-Lyrics.com | Cravecocktails.com | ThePhatPhree.com | RideJudge.com | HottieSpots.com

PSP3D Footer Left Powered by Custom vB Version 5.1.0 for Crave Online Media, LLC.
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd. and PSP3D.com.
LinkBacks Enabled by vBSEO 3.0.0 RC8

All times are GMT -4. The time now is 05:48 AM.
PSP3D Footer Right