#unzip nama_file atau #gunzip nama_file
Namun ketika memiliki file dengan format RAR, anda harus meng-install tools untuk meng-extract RAR file tersebut. ada banyak tools tersedia, baik gratis maupun berbayar. Berikut saya akan menjelaskan cara meng-extract RAR file dengan menggunakan command line di terminal.
pertama, anda perlu men-download dari winrar lalu unzip file rarosx-4.0.0.tar.gz tersebut. Lalu buka folder yang ter-create dari unzip tadi dan copy file unrar ke /usr/bin (agar selanjutnya kita tidak perlu memanggil path file tsb).
masuk sebagai root user: (atau bisa juga dengan menggunakan sudo)
#cp /Users/tafa/Downloads/rar/unrar /usr/bin
Selanjutnya, dengan menggunakan user apapun anda akan dengan mudah meng-extract file RAR tersebut:
#unrar e file_name.rar
gunakan option e untuk meng-extract, untuk mengetahui options apa saja yang tersedia, ketik #unrar lalu enter:
UNRAR 4.00 freeware Copyright (c) 1993-2011 Alexander Roshal
Usage: unrar
<@listfiles...>
e Extract files to current directory
l[t,b] List archive [technical, bare]
p Print file to stdout
t Test archive files
v[t,b] Verbosely list archive [technical,bare]
x Extract files with full path
- Stop switches scanning
ad Append archive name to destination path
ai Ignore file attributes
ap
av- Disable authenticity verification check
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
dh Open shared files
ep Exclude paths from names
ep3 Expand paths to full including the drive letter
f Freshen files
id[c,d,p,q] Disable messages
ierr Send all messages to stderr
inul Disable all messages
kb Keep broken extracted files
n
n@ Read file names to include from stdin
n@
- Include files listed in specified list file
o[+|-] Set the overwrite mode
or Rename files automatically
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
sl
sm
ta
tb
tn
to
ts
u Update files
v List all volumes
ver[n] File version control
vp Pause before each volume
x
x@ Read file names to exclude from stdin
x@
- Exclude files listed in specified list file
y Assume Yes on all queries
Convo expressions for excitement enables you to perfect the language to all ages, it also enables you to become an instructor yourself if you want.
BalasHapus