PDA

Visualizza Versione Completa : cerco programma tipo winzip



Nadiuccia
23-01-07, 11:52
ciao a tutti cerco un programma x mac tipo winzip x comprimere file
ho scaricato stuff it expander ma mi fa scompattare nn compattare....quale mi consigliate?mi potete indicare un link da cui scaricarlo?grazie

meigel
23-01-07, 12:10
cerco un programma x mac tipo winzip x comprimere file

Per comprimere fai click col tasto destro (oppure control+click) sul file e scegli "Crea archivio" ;)

Zlatan
23-01-07, 12:14
ciao dai un' occhiata a questi:
http://www.macupdate.com/info.php/id/16149
http://www.macupdate.com/info.php/id/14503
http://www.macupdate.com/info.php/id/12350

EDIT by maina: ho editato il link in modo da renderli attivi

Nadiuccia
23-01-07, 12:19
grazie a tutti ci proverò

maceric
23-01-07, 12:58
se qualcuno volesse provare, faccio notare che è possibile anche da terminale usare o il classico comando "tar" di origine unix, che stuffit legge tranquillamente, oppure il più efficiente
bzip2
basta aprire il terminale e scrivere "bzip2"(senza virgolette) battere uno spazio e trascinare il documento che si vuole comprimere.
anche questo viene riconosciuto da stuffit senza problemi.

dal man


DESCRIPTION
bzip2 compresses files using the Burrows-Wheeler block sorting text
compression algorithm, and Huffman coding. Compression is generally
considerably better than that achieved by more conventional
LZ77/LZ78-based compressors, and approaches the performance of the PPM
family of statistical compressors.

The command-line options are deliberately very similar to those of GNU
gzip, but they are not identical.

meigel
10-02-07, 11:58
basta aprire il terminale e scrivere "bzip2"(senza virgolette) battere uno spazio e trascinare il documento che si vuole comprimere.
anche questo viene riconosciuto da stuffit senza problemi.

Ho appena provato :-o .... grazie!! :)

E' normale che la procedura non lasci una copia del file non compresso, vero? (contrariamente a "Crea archivio di...").
Inoltre volevo chiederti... è un metodo "più efficiente", ma non in termini di grado di compressione, se ho capito bene... c'è qualche altro motivo per preferire .bz2, per esempio in termini di compatibilità con altre piattaforme, o di velocità ecc... (a parte il gusto di imparare a usare il terminale :P).

Grazie! ;)

maceric
10-02-07, 13:47
si, è normale che non duplichi il file.

dalla home di bzip2




bzip2 and libbzip2
What is bzip2?

bzip2 is a freely available, patent free (see below), high-quality data compressor. It typically compresses files to within 10% to 15% of the best available techniques (the PPM family of statistical compressors), whilst being around twice as fast at compression and six times faster at decompression.

cioè :
bzip2 é un compressore di alta qualità, non coperto da brevetti, gratuito. Genera file compressi grandi all'incirca il 10% - 15% di quelli che si ottengono con i programmi basati sulle più aggiornate tecniche di compressione ( che usano le routine statistiche di compressione di tipo PPM) e a contempo é il doppio più veloce in compressione e sei volte più veloce in decompattazione


sicuramente meglio del tar (altro compressore storico nativo unix e quindi nativo osx, da terminale se dai "man tar" ti puoi leggere le pagine del manuale di tar)
un estratto:




NAME
tar -- tape archiver; manipulate "tar" archive files

SYNOPSIS
tar [[-]bundled-options Args] [gnu-style-flags]
[filenames | -C directory-name] ...

DESCRIPTION
Tar is short for ``tape archiver'', so named for historical reasons; the
tar program creates, adds files to, or extracts files from an archive
file in tar format, called a tarfile. A tarfile is often a magnetic
tape, but can be a floppy diskette or any regular disk file.

meigel
10-02-07, 13:52
Grazie mille, maceric! ;)

Lester
10-02-07, 13:57
E' normale che la procedura non lasci una copia del file non compresso, vero? (contrariamente a "Crea archivio di...")

Se vuoi che lasci una copia del file digita bzip2 -k

maceric
10-02-07, 14:01
esatto lester ;)
allora per essere completi ecco l'elenco:
cioè scrivendo "bzip2 -k" oppure "bzip2 -una delle altre lettere"




-h --help print this message
-d --decompress force decompression
-z --compress force compression
-k --keep keep (don't delete) input files
-f --force overwrite existing output files
-t --test test compressed file integrity
-c --stdout output to standard out
-q --quiet suppress noncritical error messages
-v --verbose be verbose (a 2nd -v gives more)
-L --license display software version & license
-V --version display software version & license
-s --small use less memory (at most 2500k)
-1 .. -9 set block size to 100k .. 900k
--fast alias for -1
--best alias for -9

meigel
10-02-07, 16:29
esatto lester ;)
allora per essere completi ecco l'elenco:

Grazie mille a lester e maceric :)

Credo di aver capito i comandi tranne:

-c --stdout output to standard out
-v --verbose be verbose (a 2nd -v gives more)

qualcuno sarebbe tanto gentile?... :oops:

Lester
10-02-07, 16:56
Credo di aver capito i comandi tranne:

-c --stdout output to standard out
-v --verbose be verbose (a 2nd -v gives more)

Per quanto riguarda -v, ti dà maggiori informazioni su cosa sta succedendo. Se tu provi a comprimere un file prima con bzip2, poi con bzip2 -v e poi con bzip2 -vv e guardi i risultati ottenuti, è meglio di ogni spiegazione.. Se lo comprimi con gzip -v vedi direttamente la percentuale di compressione.

Per -c, a parte il man di Terminale, ti incollo sotto questo, ma francamente non l'ho capito nemmeno io. Aspettiamo maceric o altri esperti ;)


6.1 Standard Input and Standard Output

What happens if you don't give a filename argument on a command line? Most programs will take their input from your keyboard instead (after you press Return to start the program running, that is). Your Terminal keyboard is the program's standard input.

As a program runs, the results are usually displayed on your Terminal screen. The Terminal screen is the program's standard output. So, by default, each of these programs takes its information from the standard input and sends the results to the standard output. These two default cases of input/ output (I/O) can be varied. This is called I/O redirection.

If a program writes to its standard output, which is normally the screen, you can make it write to a file instead by using the greater-than symbol (>) operator. The pipe operator (|) sends the standard output of one program to the standard input of another program. Input/output redirection is one of the most powerful and flexible Unix features.

If a program doesn't normally read from files, but reads from its standard input, you can give a filename by using the less-than symbol (<) operator. tr (character translator) is such a program. Here's how to use the input redirection operator to convert commas to linefeeds in the to_do file:

$ cat to_do
Install Mac OS X,Learn Unix,???,Profit!
$ tr ',' '\n' < to_do
Install Mac OS X
Learn Unix
???
Profit!
$
Can you see what's happened here? The tr command has translated every comma in the input file (to_do, which replaced standard input because of the < notation) to a carriage return, displaying the output on standard output (the Terminal window).

meigel
10-02-07, 21:49
Se tu provi a comprimere un file prima con bzip2, poi con bzip2 -v e poi con bzip2 -vv e guardi i risultati ottenuti, è meglio di ogni spiegazione.
Fatto, grazie :smt023


Per -c, a parte il man di Terminale, ti incollo sotto questo, ma francamente non l'ho capito nemmeno io. Aspettiamo maceric o altri esperti ;)

Infatti non ci ho capito nulla ... aspettiamo :)

Questo topic si è fatto molto interessante... si potrebbe fare un riassuntino sulla compressione con il Terminale, e postare qui: http://www.tuttologia.com/macp2p/showthread.php?t=4258 ;)

avrobay
10-02-07, 21:53
Vista la piega presa dallla discussione vi sposto in "Automator, Apple Script, Terminale." :)

gia_mela
19-04-07, 12:30
dovrebbe significare che ridirige l'output del comando sullo standard output definito sul SO Unix invece che su un file.
siccome lo standard output è lo schermo, non è molto utile come opzione...