Previous: , Up: remove   [Contents][Index]


A.18.2 remove examples

A.18.2.1 Removing a file

$ cvs remove remove.me
cvs remove: file `remove.me' still in working directory
cvs remove: 1 file exists; remove it first
$ rm -f remove.me
$ cvs remove remove.me
cvs remove: scheduling `remove.me' for removal
cvs remove: use 'cvs commit' to remove this file permanently

$ ls remove.it
remove.it
$ cvs remove -f remove.it
cvs remove: scheduling `remove.it' for removal
cvs remove: use 'cvs commit' to remove this file permanently

A.18.2.2 Removing entire directories

$ tree -d a
a
|-- CVS
`-- b
    `-- CVS

3 directories
$ cvs remove -f a
cvs remove: Removing a
cvs remove: Removing a/b
cvs remove: scheduling `a/b/c' for removal
cvs remove: use 'cvs commit' to remove this file permanently