User Tools

Site Tools


opus:fall2012:kpryslop:unixpart1

unix Keyword 1

file copying/moving/renaming

Definition

File copying- When you of make a copy of a file or folder using the command cp. File moving- When you move a folder or file to a different location using the mv command. File renaming- When you rename a file or folder also uses the mv command.

References

unix Keyword 1 Phase 2

File Archival

Definition

File archival, sometimes referred to as concatenating files, is used to join multiple files and data regarding those files into a single file which can then be compressed to reduce the amount of required storage space needed for files. Each computer platform or operating system has their own formats for concatenating files. Tar, ar, and shar are the file formats used by Unix operating system to join the files and gzip is the format of the compressed file. Each format is distinct in the treatment of the files. For example, the tar format is used for the creation of tape archives, and has replaced the ar format for most files other than static libraries. The shar format is for shell script archives.

References

List any sites, books, or sources utilized when researching information on this topic. (Remove any filler text).

Demonstration

lab46:~$ tar cvf kyle.tar src/     
src/
src/.hg/
src/.hg/store/
src/.hg/00changelog.i
src/.hg/requires
src/.hg/hgrc
src/.hg/branch
src/.hg/dirstate
src/Makefile
src/cprog/
src/cprog/.svn/
src/cprog/.svn/text-base/
src/cprog/.svn/text-base/hello.svn-base
src/cprog/.svn/text-base/hello.c.svn-base
src/cprog/.svn/text-base/var1.c.svn-base
src/cprog/.svn/text-base/val0.c.svn-base
src/cprog/.svn/text-base/something.c.svn-base
src/cprog/.svn/text-base/somethingelse.c.svn-base
src/cprog/.svn/text-base/somethingelseelse.c.svn-base
src/cprog/.svn/text-base/test.c.svn-base
src/cprog/.svn/text-base/practice.c.svn-base
src/cprog/.svn/text-base/blah.c.svn-base
src/cprog/.svn/text-base/nano.c.svn-base
src/cprog/.svn/text-base/average.c.svn-base
src/cprog/.svn/text-base/slope.c.svn-base
src/cprog/.svn/text-base/random.c.svn-base
src/cprog/.svn/text-base/if.c.svn-base
src/cprog/.svn/text-base/task3.c.svn-base
src/cprog/.svn/text-base/green.c.svn-base
src/cprog/.svn/text-base/yellow.c.svn-base
src/cprog/.svn/text-base/weird.c.svn-base
src/cprog/.svn/text-base/game.c.svn-base
src/cprog/.svn/text-base/la.c.svn-base
src/cprog/.svn/text-base/math.c.svn-base
src/cprog/.svn/text-base/bored.c.svn-base
src/cprog/.svn/text-base/whatever.c.svn-base
src/cprog/.svn/text-base/average2.c.svn-base
src/cprog/.svn/text-base/display.c.svn-base
src/cprog/.svn/text-base/main.c.svn-base
src/cprog/.svn/text-base/settings.h.svn-base
src/cprog/.svn/text-base/sum.c.svn-base
src/cprog/.svn/text-base/hatetask5.c.svn-base
src/cprog/.svn/text-base/ki.c.svn-base
src/cprog/.svn/text-base/o.c.svn-base
src/cprog/.svn/text-base/fun.c.svn-base
src/cprog/.svn/text-base/game2.c.svn-base
src/cprog/.svn/text-base/displayops.c.svn-base
src/cprog/.svn/text-base/displayops.o.svn-base
src/cprog/.svn/text-base/game.h.svn-base
src/cprog/.svn/text-base/main.o.svn-base
src/cprog/.svn/text-base/main2.c.svn-base
src/cprog/.svn/text-base/main2.o.svn-base
src/cprog/.svn/text-base/process.c.svn-base
src/cprog/.svn/text-base/process.o.svn-base
src/cprog/.svn/text-base/analysis.c.svn-base
src/cprog/.svn/text-base/debug.c.svn-base
src/cprog/.svn/text-base/do.c.svn-base
src/cprog/.svn/text-base/ifelse.c.svn-base
src/cprog/.svn/text-base/pbv.c.svn-base
src/cprog/.svn/text-base/array.c.svn-base
src/cprog/.svn/text-base/pbr.c.svn-base
src/cprog/.svn/prop-base/
src/cprog/.svn/prop-base/hello.svn-base
src/cprog/.svn/prop-base/displayops.o.svn-base
src/cprog/.svn/prop-base/main.o.svn-base
src/cprog/.svn/prop-base/main2.o.svn-base
src/cprog/.svn/prop-base/process.o.svn-base
src/cprog/.svn/props/
src/cprog/.svn/tmp/
src/cprog/.svn/tmp/text-base/
src/cprog/.svn/tmp/prop-base/
src/cprog/.svn/tmp/props/
src/cprog/.svn/entries
src/cprog/.svn/all-wcprops
src/cprog/tryme
src/cprog/debug
src/cprog/temp
src/cprog/zero
src/cprog/hello.c
src/cprog/string3b.c
src/cprog/var1.c
src/cprog/val0.c
src/cprog/val0
src/cprog/something.c
src/cprog/something
src/cprog/somethingelse.c
src/cprog/somethingelse
src/cprog/somethingelseelse.c
src/cprog/somethingelseelse
src/cprog/test.c
src/cprog/dtom
src/cprog/practice.c
src/cprog/string5.c
src/cprog/blah.c
src/cprog/blah
src/cprog/string4.c
src/cprog/pie.c
src/cprog/pie
src/cprog/task7/
src/cprog/task7/disk.cc
src/cprog/task7/storage.h
src/cprog/task7/tape.h
src/cprog/task7/storage.cc
src/cprog/task7/disk.h
src/cprog/task7/disk.h.gch
src/cprog/task7/storage.h.gch
src/cprog/task7/disk.o
src/cprog/task7/tape.cc
src/cprog/task7/main.cc
src/cprog/task7/task7/
src/cprog/task7/task7/main.cc
src/cprog/task7/task7/storage.h
src/cprog/task7/task7/Makefile
src/cprog/task7/task7/tape.h
src/cprog/task7/task7/storage.cc
src/cprog/task7/task7/disk.h
src/cprog/task7/task7/storage.o
src/cprog/task7/task7/main.o
src/cprog/task7/task7/disk.o
src/cprog/task7/tape.h.gch
src/cprog/task7/storage.o
src/cprog/task7/Makefile
src/cprog/task7/tape.o
src/cprog/task7/main.o
src/cprog/task7/mydata
src/cprog/task7/main
src/cprog/analysis.c
src/cprog/string4
src/cprog/test
src/cprog/practice
src/cprog/nano.c
src/cprog/nano
src/cprog/average.c
src/cprog/average
src/cprog/slope.c
src/cprog/slope
src/cprog/random.c
src/cprog/random
src/cprog/if.c
src/cprog/if
src/cprog/task3.c
src/cprog/task3
src/cprog/green.c
src/cprog/green
src/cprog/yellow.c
src/cprog/yellow
src/cprog/weird.c
src/cprog/weird
src/cprog/game.c
src/cprog/what
src/cprog/la.c
src/cprog/la
src/cprog/tree
src/cprog/math.c
src/cprog/math
src/cprog/math2
src/cprog/bored.c
src/cprog/bored
src/cprog/whatever.c
src/cprog/whatever
src/cprog/main.c
src/cprog/sum.c
src/cprog/average2.c
src/cprog/display.c
src/cprog/settings.h
src/cprog/string3b
src/cprog/sum.o
src/cprog/average2.o
src/cprog/display.o
src/cprog/whatever2
src/cprog/game2.c
src/cprog/math3
src/cprog/ki.c
src/cprog/ki
src/cprog/fork
src/cprog/o.c
src/cprog/o
src/cprog/hatetask5.c
src/cprog/hatetask5
src/cprog/game2.c.save
src/cprog/game2.c.save.1
src/cprog/image.bmp
src/cprog/fun.c
src/cprog/fun
src/cprog/game2
src/cprog/game.h
src/cprog/game.h.gch
src/cprog/main2.c
src/cprog/main2.o
src/cprog/displayops.c
src/cprog/displayops.o
src/cprog/process.c
src/cprog/process.o
src/cprog/game
src/cprog/hello.cc
src/cprog/hello
src/cprog/hello2.cc
src/cprog/hello2
src/cprog/stacks.c
src/cprog/circle.cc
src/cprog/circle
src/cprog/linked.c
src/cprog/main.cc
src/cprog/account
src/cprog/rectangle3
src/cprog/testtryme
src/cprog/testtryme2.cc
src/cprog/testtryme2
src/cprog/doubly1
src/cprog/linked
src/cprog/circle.h
src/cprog/linkedA/
src/cprog/linkedA/main.c
src/cprog/linkedA/append.c
src/cprog/linkedA/insert.c
src/cprog/linkedA/remove.c
src/cprog/linkedA/projecta.c
src/cprog/linkedA/projecta
src/cprog/circle.o
src/cprog/circle.h.gch
src/cprog/temp.c
src/cprog/push.c
src/cprog/mycircle
src/cprog/main.o
src/cprog/rectangle.o
src/cprog/string5
src/cprog/srandtime.c
src/cprog/nocapes.c
src/cprog/nocapes.o
src/cprog/nocapes
src/cprog/debug.c
src/cprog/string3.c
src/cprog/rectangle.cc
src/cprog/rectangle
src/cprog/rectangle.h
src/cprog/Main.cc
src/cprog/fun.cc
src/cprog/Main.o
src/cprog/fun.o
src/cprog/rectangle2
src/cprog/rectangle.cc.save
src/cprog/tryme.cc
src/cprog/account.cc
src/cprog/rectangle3.cc
src/cprog/testtryme.cc
src/cprog/ifelse.c
src/cprog/ifelse
src/cprog/do.c
src/cprog/do
src/cprog/pbv.c
src/cprog/pbv
src/cprog/pbr.c
src/cprog/pbr.o
src/cprog/pbr
src/cprog/array.c
src/cprog/array
src/cprog/analysis
src/cprog/pointer.c
src/cprog/pointer
src/cprog/back.c
src/cprog/back
src/cprog/string.c
src/cprog/a.out
src/cprog/ptop
src/cprog/pointers.c
src/cprog/linkedlist1.c
src/cprog/linkedlist2.c
src/cprog/doubly1.c
src/cprog/doubly2.c
src/cprog/pop.c
src/cprog/someoneelse.c
src/cprog/pointers
src/cprog/peek.c
src/cprog/pointers2.c
src/cprog/doubly2
src/cprog/isEmpty.c
src/cprog/pointers2
src/cprog/teststack.c
src/cprog/playpoints.c
src/cprog/playpoints
src/cprog/teststack
src/cprog/link.c
src/cprog/string
src/cprog/string2.c
src/cprog/linkedlist1
src/cprog/zero.c
src/cprog/linkedlist2
src/cprog/string2
src/cprog/string3
src/cprog/string3.c.save
src/cprog/string5.c.save
src/cprog/what.c
src/cprog/math2.c
src/cprog/signal.c
src/cprog/signal
src/cprog/math3.c
src/cprog/tree.c
src/cprog/fork.c
src/cprog/Untitled 1.odt
src/cprog/exponents.c
src/cprog/exponents
src/cprog/ceil.c
src/cprog/ceil
src/cprog/eoce.cc
src/cprog/eoce
src/cprog/bubble.c
src/cprog/trying.c
src/cprog/trying
src/cprog/prime.c
src/cprog/hey.c
src/cprog/hey
src/shovelingbob/
src/shovelingbob/.svn/
src/shovelingbob/.svn/text-base/
src/shovelingbob/.svn/text-base/bobspritesheet_tyler.png.svn-base
src/shovelingbob/.svn/text-base/shovelingbobcoverart.jpg.svn-base
src/shovelingbob/.svn/text-base/backgroundbeta.bmp.svn-base
src/shovelingbob/.svn/text-base/dirtlevel1.bmp.svn-base
src/shovelingbob/.svn/text-base/dirtlevel1.png.svn-base
src/shovelingbob/.svn/text-base/0426-dirt.cc.svn-base
src/shovelingbob/.svn/text-base/Makefile.svn-base
src/shovelingbob/.svn/text-base/main.cc.svn-base
src/shovelingbob/.svn/text-base/dirtlevel2.bmp.svn-base
src/shovelingbob/.svn/text-base/dirtlevel3.bmp.svn-base
src/shovelingbob/.svn/text-base/dirtlevel4.bmp.svn-base
src/shovelingbob/.svn/text-base/sb_standing.png.svn-base
src/shovelingbob/.svn/text-base/bobtest.bmp.svn-base
src/shovelingbob/.svn/text-base/Enemy.xcf.svn-base
src/shovelingbob/.svn/text-base/enemy.png.svn-base
src/shovelingbob/.svn/text-base/Davestill.png.svn-base
src/shovelingbob/.svn/text-base/bombbob.png.svn-base
src/shovelingbob/.svn/text-base/dead.png.svn-base
src/shovelingbob/.svn/text-base/Daveswing.png.svn-base
src/shovelingbob/.svn/text-base/deadBob.png.svn-base
src/shovelingbob/.svn/text-base/deadBob2.png.svn-base
src/shovelingbob/.svn/prop-base/
src/shovelingbob/.svn/prop-base/bobspritesheet_tyler.png.svn-base
src/shovelingbob/.svn/prop-base/shovelingbobcoverart.jpg.svn-base
src/shovelingbob/.svn/prop-base/backgroundbeta.bmp.svn-base
src/shovelingbob/.svn/prop-base/dirtlevel1.bmp.svn-base
src/shovelingbob/.svn/prop-base/dirtlevel1.png.svn-base
src/shovelingbob/.svn/prop-base/dirtlevel2.bmp.svn-base
src/shovelingbob/.svn/prop-base/dirtlevel3.bmp.svn-base
src/shovelingbob/.svn/prop-base/dirtlevel4.bmp.svn-base
src/shovelingbob/.svn/prop-base/sb_standing.png.svn-base
src/shovelingbob/.svn/prop-base/bobtest.bmp.svn-base
src/shovelingbob/.svn/prop-base/Enemy.xcf.svn-base
src/shovelingbob/.svn/prop-base/enemy.png.svn-base
src/shovelingbob/.svn/prop-base/Davestill.png.svn-base
src/shovelingbob/.svn/prop-base/bombbob.png.svn-base
src/shovelingbob/.svn/prop-base/dead.png.svn-base
src/shovelingbob/.svn/prop-base/Daveswing.png.svn-base
src/shovelingbob/.svn/prop-base/deadBob.png.svn-base
src/shovelingbob/.svn/prop-base/deadBob2.png.svn-base
src/shovelingbob/.svn/props/
src/shovelingbob/.svn/tmp/
src/shovelingbob/.svn/tmp/text-base/
src/shovelingbob/.svn/tmp/prop-base/
src/shovelingbob/.svn/tmp/props/
src/shovelingbob/.svn/entries
src/shovelingbob/.svn/all-wcprops
src/shovelingbob/bobspritesheet_tyler.png
src/shovelingbob/dirt/
src/shovelingbob/dirt/.svn/
src/shovelingbob/dirt/.svn/text-base/
src/shovelingbob/dirt/.svn/text-base/dirt.h.svn-base
src/shovelingbob/dirt/.svn/text-base/dirt.cc.svn-base
src/shovelingbob/dirt/.svn/prop-base/
src/shovelingbob/dirt/.svn/props/
src/shovelingbob/dirt/.svn/tmp/
src/shovelingbob/dirt/.svn/tmp/text-base/
src/shovelingbob/dirt/.svn/tmp/prop-base/
src/shovelingbob/dirt/.svn/tmp/props/
src/shovelingbob/dirt/.svn/entries
src/shovelingbob/dirt/.svn/all-wcprops
src/shovelingbob/dirt/dirt.h
src/shovelingbob/dirt/dirt.cc
src/shovelingbob/dirt/dirt.o
src/shovelingbob/player/
src/shovelingbob/player/.svn/
src/shovelingbob/player/.svn/text-base/
src/shovelingbob/player/.svn/text-base/player.h.svn-base
src/shovelingbob/player/.svn/text-base/player.cc.svn-base
src/shovelingbob/player/.svn/prop-base/
src/shovelingbob/player/.svn/props/
src/shovelingbob/player/.svn/tmp/
src/shovelingbob/player/.svn/tmp/text-base/
src/shovelingbob/player/.svn/tmp/prop-base/
src/shovelingbob/player/.svn/tmp/props/
src/shovelingbob/player/.svn/entries
src/shovelingbob/player/.svn/all-wcprops
src/shovelingbob/player/player.h
src/shovelingbob/player/player.cc
src/shovelingbob/player/player2.cc.save
src/shovelingbob/enemy/
src/shovelingbob/enemy/.svn/
src/shovelingbob/enemy/.svn/text-base/
src/shovelingbob/enemy/.svn/text-base/enemy.h.svn-base
src/shovelingbob/enemy/.svn/text-base/enemy.cc.svn-base
src/shovelingbob/enemy/.svn/prop-base/
src/shovelingbob/enemy/.svn/props/
src/shovelingbob/enemy/.svn/tmp/
src/shovelingbob/enemy/.svn/tmp/text-base/
src/shovelingbob/enemy/.svn/tmp/prop-base/
src/shovelingbob/enemy/.svn/tmp/props/
src/shovelingbob/enemy/.svn/entries
src/shovelingbob/enemy/.svn/all-wcprops
src/shovelingbob/enemy/enemy.h
src/shovelingbob/enemy/enemy.cc
src/shovelingbob/rocks/
src/shovelingbob/rocks/.svn/
src/shovelingbob/rocks/.svn/text-base/
src/shovelingbob/rocks/.svn/text-base/rocks.cc.svn-base
src/shovelingbob/rocks/.svn/text-base/rocks.h.svn-base
src/shovelingbob/rocks/.svn/prop-base/
src/shovelingbob/rocks/.svn/props/
src/shovelingbob/rocks/.svn/tmp/
src/shovelingbob/rocks/.svn/tmp/text-base/
src/shovelingbob/rocks/.svn/tmp/prop-base/
src/shovelingbob/rocks/.svn/tmp/props/
src/shovelingbob/rocks/.svn/entries
src/shovelingbob/rocks/.svn/all-wcprops
src/shovelingbob/rocks/rocks.cc
src/shovelingbob/rocks/rocks.h
src/shovelingbob/score/
src/shovelingbob/score/.svn/
src/shovelingbob/score/.svn/text-base/
src/shovelingbob/score/.svn/text-base/score.h.svn-base
src/shovelingbob/score/.svn/prop-base/
src/shovelingbob/score/.svn/props/
src/shovelingbob/score/.svn/tmp/
src/shovelingbob/score/.svn/tmp/text-base/
src/shovelingbob/score/.svn/tmp/prop-base/
src/shovelingbob/score/.svn/tmp/props/
src/shovelingbob/score/.svn/entries
src/shovelingbob/score/.svn/all-wcprops
src/shovelingbob/score/score.h
src/shovelingbob/shovelgame/
src/shovelingbob/shovelgame/.svn/
src/shovelingbob/shovelgame/.svn/text-base/
src/shovelingbob/shovelgame/.svn/text-base/main.cc.svn-base
src/shovelingbob/shovelgame/.svn/text-base/fun.c.svn-base
src/shovelingbob/shovelgame/.svn/text-base/main.h.svn-base
src/shovelingbob/shovelgame/.svn/prop-base/
src/shovelingbob/shovelgame/.svn/props/
src/shovelingbob/shovelgame/.svn/tmp/
src/shovelingbob/shovelgame/.svn/tmp/text-base/
src/shovelingbob/shovelgame/.svn/tmp/prop-base/
src/shovelingbob/shovelgame/.svn/tmp/props/
src/shovelingbob/shovelgame/.svn/tmp/main.cc.tmp
src/shovelingbob/shovelgame/.svn/tmp/main.h.tmp
src/shovelingbob/shovelgame/.svn/entries
src/shovelingbob/shovelgame/.svn/all-wcprops
src/shovelingbob/shovelgame/main.cc
src/shovelingbob/shovelgame/fun.c
src/shovelingbob/shovelgame/main.h
src/shovelingbob/shovelingbobcoverart.jpg
src/shovelingbob/backgroundbeta.bmp
src/shovelingbob/dirtlevel1.bmp
src/shovelingbob/dirtlevel1.png
src/shovelingbob/0426-dirt.cc
src/shovelingbob/Makefile
src/shovelingbob/main.cc
src/shovelingbob/dirtlevel2.bmp
src/shovelingbob/dirtlevel3.bmp
src/shovelingbob/dirtlevel4.bmp
src/shovelingbob/sb_standing.png
src/shovelingbob/bobtest.bmp
src/shovelingbob/Enemy.xcf
src/shovelingbob/enemy.png
src/shovelingbob/Davestill.png
src/shovelingbob/bombbob.png
src/shovelingbob/dead.png
src/shovelingbob/Daveswing.png
src/shovelingbob/deadBob.png
src/shovelingbob/deadBob2.png
src/shovelingbob/main.o
src/shovelingbob/sbob
src/submit/
src/submit/.svn/
src/submit/.svn/text-base/
src/submit/.svn/text-base/contact.info.svn-base
src/submit/.svn/text-base/average.c.svn-base
src/submit/.svn/text-base/slope.c.svn-base
src/submit/.svn/text-base/task3.c.svn-base
src/submit/.svn/text-base/task4.c.svn-base
src/submit/.svn/text-base/task5.c.svn-base
src/submit/.svn/text-base/storage.cc.svn-base
src/submit/.svn/text-base/storage.h.svn-base
src/submit/.svn/text-base/tape.cc.svn-base
src/submit/.svn/text-base/tape.h.svn-base
src/submit/.svn/text-base/task7.cc.svn-base
src/submit/.svn/prop-base/
src/submit/.svn/props/
src/submit/.svn/tmp/
src/submit/.svn/tmp/text-base/
src/submit/.svn/tmp/prop-base/
src/submit/.svn/tmp/props/
src/submit/.svn/entries
src/submit/.svn/all-wcprops
src/submit/contact.info
src/submit/average.c
src/submit/slope.c
src/submit/task3.c
src/submit/task4.c
src/submit/task5.c
src/submit/task5/
src/submit/task5/game.h
src/submit/task5/main.c
src/submit/task5/displayops.c
src/submit/task5/process.c
src/submit/task5/main.o
src/submit/task5/displayops.o
src/submit/task5/process.o
src/submit/task6.cc
src/submit/rectangle.h
src/submit/Main.o
src/submit/fun.o
src/submit/tryme.cc
src/submit/task7.cc
src/submit/tape.cc
src/submit/storage.cc
src/submit/storage.h
src/submit/tape.h
src/testfile
src/unix/
src/unix/hello.c
src/unix/hello
src/unix/pie.c
src/unix/pie
src/unix/submit/
src/unix/submit/p00/
src/unix/submit/p00/arc.tar.gz
opus/fall2012/kpryslop/unixpart1.txt · Last modified: 2012/09/28 20:14 by kpryslop