Emidio Planamente 's Homepage

Home GNU/Linux Programming Technology Sport Others Contact

Search

  Google linux


Debian

  Apt-get
  Debian Anatomy
  Debian Backports
  Debian Help
  Debian Planet
  Debian Swiss
  History of Debian
  Getdeb
  Kernel
  Kernel 2.6
  Packages
  Refcard for newbie
  Reference book
  SATA raid
  Weekly News


Official Docs

  Distrowatch
  Firewire
  Gimp
  Gimp Photo Archive
  Linuxdoc
  Linuxdoc Reference
  Linux Focus
  Linux From Scratch
  Linux Hacks
  Linux Hardware
  Linux Printing
  MySQL
  O'Reilly
  Rute
  Source Forge
  USB guide


Installation

  Instalinux
  Preseed


Laptop

  Linux on Laptops
  Linux Toshiba
  Tux Mobil


Live-CDs

  Create it Your self
  Knoppix
  Kororaa XGL 3


Pictures

  Bay13
  Gnomelook
  Kuznetsov


Security

  GNU/Linux
  PortsDB


Linux based product

  Dreambox


Free web service

  S5 presents


Against Micro$oft

  Combatti Micro$oft
  Microsuck


HTML validator CSS validator

 

Demo of "emicp"


Short demo about what can do the emicp package.


The ~/tmp directory contains a directory called "mydirectory" and a file called "myfile".

user@host:~/tmp$ ls
mydirectory myfile

Now, I want to change "myfile" but before starting editing it, I want to be sure that I can restore the original version without any problem. Therefore I execute:

user@host:~/tmp$ emicp myfile

and the result is a backup of "myfile" plus date and hour of the backup.

user@host:~/tmp$ ls
mydirectory myfile myfile.2003-11-16.1929

The same is valid for directories. If I have a directory and I want to change its content, I can easily backup it executing:

user@host:~/tmp$ emicp mydirectory/

and this is the result:

user@host:~/tmp$ ls
mydirectory mydirectory.2003-11-16.1930 myfile myfile.2003-11-16.1929


Emidio Planamente

Last modified on 2005-11-05