Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 2fc07611b08d4a735fd34d5eb60d8e16 > files > 2127

ciao-1.10p8-3mdv2010.0.i586.rpm

<HTML>
<HEAD>
<!-- Created by texi2html 1.56k + clip patches and <A href="http://www.clip.dia.fi.upm.es/Software">lpdoc</A> from ciao.texi on 28 January 2007 -->

<LINK rel="stylesheet" href="ciao.css" type="text/css">
<TITLE>The Ciao Prolog System               - A Program to Help Cleaning your Directories</TITLE>
</HEAD>
<BODY> 
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_177.html">previous</A>, <A HREF="ciao_179.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC724" HREF="ciao_toc.html#TOC724">A Program to Help Cleaning your Directories</A></H1>

<P>
<STRONG>Author(s):</STRONG> Manuel Carro.


<P>
<STRONG>Version:</STRONG> 0.1#3 (2001/10/25, 14:31:59 CEST)


<P>
A simple program for traversing a directory tree and deciding which files may be deleted in order to save space and not to loose information. 



<UL>
<LI><A HREF="ciao_178.html#SEC725">Usage (cleandirs)</A>
<LI><A HREF="ciao_178.html#SEC726">Known bugs and planned improvements (cleandirs)</A>
</UL>



<H2><A NAME="SEC725" HREF="ciao_toc.html#TOC725">Usage (cleandirs)</A></H2>


<PRE>
   
cleandirs [--silent] &#60;initial_dir&#62; &#60;delete_options&#62; &#60;backup_options&#62;
cleandirs explores &#60;initial_dir&#62; (which should be an absolute path)
and looks for backup files and files which can be generated from other
files, using a plausible heuristic aimed at retaining the same amount
of information while recovering some disk space.  The heuristic is
based on the extension of the filename.

Delete options is one of:
   --list: just list the files/directories which are amenable to be deleted,
           but do not delete them. SAFE.
    --ask: list the files/directories and ask for deletion. UNSAFE if you
           make a mistake.
 --delete: just delete the files/directories without asking.  I envy your
           brave soul if you choose this option.

Backup options is one of:
 --includebackups: include backup files in the list of files to check.
 --excludebackups: do not include backup files in the list of files to check.
    --onlybackups: include only backup files in the list of files to check.

Symbolic links are not traversed.  Special files are not checked.

</PRE>

<P>
 
Invoking the program with no arguments will return an up-to-date information on the options.




<H2><A NAME="SEC726" HREF="ciao_toc.html#TOC726">Known bugs and planned improvements (<CODE>cleandirs</CODE>)</A></H2>


<UL>

<LI>

Recursive removal of subdirectories relies on the existence of a recursive /bin/rm command in your system.
</UL>

<P><HR><P>
Go to the <A HREF="ciao_1.html">first</A>, <A HREF="ciao_177.html">previous</A>, <A HREF="ciao_179.html">next</A>, <A HREF="ciao_241.html">last</A> section, <A HREF="ciao_toc.html">table of contents</A>.
</BODY>
</HTML>