| 7 |
msgid "" |
msgid "" |
| 8 |
msgstr "" |
msgstr "" |
| 9 |
"Project-Id-Version: debian-reference\n" |
"Project-Id-Version: debian-reference\n" |
| 10 |
"POT-Creation-Date: 2012-02-15 15:46-0400\n" |
"POT-Creation-Date: 2012-02-18 09:52+0900\n" |
| 11 |
"PO-Revision-Date: 2012-02-15 15:44-0400\n" |
"PO-Revision-Date: 2012-02-15 15:44-0400\n" |
| 12 |
"Last-Translator: David Prévot <david@tilapin.org>\n" |
"Last-Translator: David Prévot <david@tilapin.org>\n" |
| 13 |
"Language-Team: French <debian-l10n-french@lists.debian.org>\n" |
"Language-Team: French <debian-l10n-french@lists.debian.org>\n" |
| 41763 |
"<literal>cpio</literal>" |
"<literal>cpio</literal>" |
| 41764 |
|
|
| 41765 |
#. type: Content of: <book><chapter><section><section><table><tgroup><tbody><row><entry> |
#. type: Content of: <book><chapter><section><section><table><tgroup><tbody><row><entry> |
| 41766 |
|
#, fuzzy |
| 41767 |
|
#| msgid "" |
| 41768 |
|
#| "<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</" |
| 41769 |
|
#| "manvolnum></citerefentry>" |
| 41770 |
msgid "" |
msgid "" |
| 41771 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
| 41772 |
"citerefentry>" |
"citerefentry>" |
| 41773 |
msgstr "" |
msgstr "" |
| 41774 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 41775 |
"citerefentry>" |
"citerefentry>" |
| 41776 |
|
|
| 41777 |
#. type: Content of: <book><chapter><section><section><table><tgroup><tbody><row><entry> |
#. type: Content of: <book><chapter><section><section><table><tgroup><tbody><row><entry> |
| 41778 |
|
#, fuzzy |
| 41779 |
|
#| msgid "<literal>.cpio</literal>" |
| 41780 |
msgid "<literal>.afio</literal>" |
msgid "<literal>.afio</literal>" |
| 41781 |
msgstr "<literal>.afio</literal>" |
msgstr "<literal>.cpio</literal>" |
| 41782 |
|
|
| 41783 |
#. type: Content of: <book><chapter><section><section><table><tgroup><tbody><row><entry> |
#. type: Content of: <book><chapter><section><section><table><tgroup><tbody><row><entry> |
| 41784 |
msgid "extended <literal>cpio</literal> with per-file compression etc." |
msgid "extended <literal>cpio</literal> with per-file compression etc." |
| 42029 |
"<literal>xz</literal>" |
"<literal>xz</literal>" |
| 42030 |
|
|
| 42031 |
#. type: Content of: <book><chapter><section><section><note><para> |
#. type: Content of: <book><chapter><section><section><note><para> |
| 42032 |
|
#, fuzzy |
| 42033 |
|
#| msgid "" |
| 42034 |
|
#| "<citerefentry><refentrytitle>cp</refentrytitle><manvolnum>1</manvolnum></" |
| 42035 |
|
#| "citerefentry>, <citerefentry><refentrytitle>scp</" |
| 42036 |
|
#| "refentrytitle><manvolnum>1</manvolnum></citerefentry> and " |
| 42037 |
|
#| "<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
| 42038 |
|
#| "citerefentry> may have some limitation for special files. " |
| 42039 |
|
#| "<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</" |
| 42040 |
|
#| "manvolnum></citerefentry> and <citerefentry><refentrytitle>cpio</" |
| 42041 |
|
#| "refentrytitle><manvolnum>1</manvolnum></citerefentry> are most versatile." |
| 42042 |
msgid "" |
msgid "" |
| 42043 |
"<citerefentry><refentrytitle>cp</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cp</refentrytitle><manvolnum>1</manvolnum></" |
| 42044 |
"citerefentry>, <citerefentry><refentrytitle>scp</refentrytitle><manvolnum>1</" |
"citerefentry>, <citerefentry><refentrytitle>scp</refentrytitle><manvolnum>1</" |
| 42055 |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> peuvent avoir " |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> peuvent avoir " |
| 42056 |
"certaines limitations pour des fichiers spéciaux. " |
"certaines limitations pour des fichiers spéciaux. " |
| 42057 |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 42058 |
"citerefentry> et <citerefentry><refentrytitle>afio</" |
"citerefentry> et <citerefentry><refentrytitle>cpio</" |
| 42059 |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> sont plus souples." |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> sont plus souples." |
| 42060 |
|
|
| 42061 |
#. type: Content of: <book><chapter><section><section><note><para> |
#. type: Content of: <book><chapter><section><section><note><para> |
| 42062 |
|
#, fuzzy |
| 42063 |
|
#| msgid "" |
| 42064 |
|
#| "<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</" |
| 42065 |
|
#| "manvolnum></citerefentry> and <citerefentry><refentrytitle>cpio</" |
| 42066 |
|
#| "refentrytitle><manvolnum>1</manvolnum></citerefentry> are designed to be " |
| 42067 |
|
#| "used with <citerefentry><refentrytitle>find</refentrytitle><manvolnum>1</" |
| 42068 |
|
#| "manvolnum></citerefentry> and other commands and suitable for creating " |
| 42069 |
|
#| "backup scripts since the file selection part of the script can be tested " |
| 42070 |
|
#| "independently." |
| 42071 |
msgid "" |
msgid "" |
| 42072 |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 42073 |
"citerefentry> and <citerefentry><refentrytitle>afio</" |
"citerefentry> and <citerefentry><refentrytitle>afio</" |
| 42078 |
"independently." |
"independently." |
| 42079 |
msgstr "" |
msgstr "" |
| 42080 |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 42081 |
"citerefentry> et <citerefentry><refentrytitle>afio</" |
"citerefentry> et <citerefentry><refentrytitle>cpio</" |
| 42082 |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> sont conçus pour être " |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> sont conçus pour être " |
| 42083 |
"utilisés avec <citerefentry><refentrytitle>find</refentrytitle><manvolnum>1</" |
"utilisés avec <citerefentry><refentrytitle>find</refentrytitle><manvolnum>1</" |
| 42084 |
"manvolnum></citerefentry> et d'autre commandes et sont adaptés à la création " |
"manvolnum></citerefentry> et d'autre commandes et sont adaptés à la création " |
| 42086 |
"fichier du script peut être testée indépendamment." |
"fichier du script peut être testée indépendamment." |
| 42087 |
|
|
| 42088 |
#. type: Content of: <book><chapter><section><section><note><para> |
#. type: Content of: <book><chapter><section><section><note><para> |
| 42089 |
|
#, fuzzy |
| 42090 |
|
#| msgid "" |
| 42091 |
|
#| "<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</" |
| 42092 |
|
#| "manvolnum></citerefentry> compresses each file in the archive. This " |
| 42093 |
|
#| "makes <literal>cpio</literal> to be much safer for the file corruption " |
| 42094 |
|
#| "than the globally compressed <literal>tar</literal> or <literal>cpio</" |
| 42095 |
|
#| "literal> archives and to be <emphasis role=\"strong\">the best archive " |
| 42096 |
|
#| "engine</emphasis> for the backup script." |
| 42097 |
msgid "" |
msgid "" |
| 42098 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
| 42099 |
"citerefentry> compresses each file in the archive. This makes " |
"citerefentry> compresses each file in the archive. This makes " |
| 42102 |
"archives and to be <emphasis role=\"strong\">the best archive engine</" |
"archives and to be <emphasis role=\"strong\">the best archive engine</" |
| 42103 |
"emphasis> for the backup script." |
"emphasis> for the backup script." |
| 42104 |
msgstr "" |
msgstr "" |
| 42105 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 42106 |
"citerefentry> compresse chaque fichier de l’archive. Cela rend " |
"citerefentry> compresse chaque fichier de l’archive. Cela rend " |
| 42107 |
"<literal>afio</literal> bien plus sûr envers la corruption de fichiers que " |
"<literal>cpio</literal> bien plus sûr envers la corruption de fichiers que " |
| 42108 |
"les archives <literal>tar</literal> ou <literal>cpio</literal> qui sont " |
"les archives <literal>tar</literal> ou <literal>cpio</literal> qui sont " |
| 42109 |
"compressées globalement et en fait le <emphasis role=\"strong\">meilleur " |
"compressées globalement et en fait le <emphasis role=\"strong\">meilleur " |
| 42110 |
"moteur d'archive</emphasis> pour les scripts de sauvegarde." |
"moteur d'archive</emphasis> pour les scripts de sauvegarde." |
| 42288 |
"$ zcat archive.cpio.gz | cpio -i" |
"$ zcat archive.cpio.gz | cpio -i" |
| 42289 |
|
|
| 42290 |
#. type: Content of: <book><chapter><section><section><para> |
#. type: Content of: <book><chapter><section><section><para> |
| 42291 |
|
#, fuzzy |
| 42292 |
|
#| msgid "" |
| 42293 |
|
#| "<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</" |
| 42294 |
|
#| "manvolnum></citerefentry>:" |
| 42295 |
msgid "" |
msgid "" |
| 42296 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
| 42297 |
"citerefentry>:" |
"citerefentry>:" |
| 42298 |
msgstr "" |
msgstr "" |
| 42299 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 42300 |
"citerefentry> :" |
"citerefentry> :" |
| 42301 |
|
|
| 42302 |
#. type: Content of: <book><chapter><section><section><screen> |
#. type: Content of: <book><chapter><section><section><screen> |
| 42303 |
#, no-wrap |
#, fuzzy, no-wrap |
| 42304 |
|
#| msgid "" |
| 42305 |
|
#| "$ find ./source -xdev -print0 | cpio -ovZ0 archive.cpio\n" |
| 42306 |
|
#| "$ cpio -ivZ archive.cpio" |
| 42307 |
msgid "" |
msgid "" |
| 42308 |
"$ find ./source -xdev -print0 | afio -ovZ0 archive.afio\n" |
"$ find ./source -xdev -print0 | afio -ovZ0 archive.afio\n" |
| 42309 |
"$ afio -ivZ archive.afio" |
"$ afio -ivZ archive.afio" |
| 42310 |
msgstr "" |
msgstr "" |
| 42311 |
"$ find ./source -xdev -print0 | afio -ovZ0 archive.afio\n" |
"$ find ./source -xdev -print0 | cpio -ovZ0 archive.cpio\n" |
| 42312 |
"$ afio -ivZ archive.afio" |
"$ cpio -ivZ archive.cpio" |
| 42313 |
|
|
| 42314 |
#. type: Content of: <book><chapter><section><section><title> |
#. type: Content of: <book><chapter><section><section><title> |
| 42315 |
msgid "Idioms for the copy" |
msgid "Idioms for the copy" |
| 42411 |
msgstr "# cd ./source; find . -print0 | cpio -pvdm --null --sparse /dest" |
msgstr "# cd ./source; find . -print0 | cpio -pvdm --null --sparse /dest" |
| 42412 |
|
|
| 42413 |
#. type: Content of: <book><chapter><section><section><screen> |
#. type: Content of: <book><chapter><section><section><screen> |
| 42414 |
#, no-wrap |
#, fuzzy, no-wrap |
| 42415 |
|
#| msgid "# cd ./source; find . -print0 | cpio -pv0a /dest" |
| 42416 |
msgid "# cd ./source; find . -print0 | afio -pv0a /dest" |
msgid "# cd ./source; find . -print0 | afio -pv0a /dest" |
| 42417 |
msgstr "# cd ./source; find . -print0 | afio -pv0a /dest" |
msgstr "# cd ./source; find . -print0 | cpio -pv0a /dest" |
| 42418 |
|
|
| 42419 |
#. type: Content of: <book><chapter><section><section><para> |
#. type: Content of: <book><chapter><section><section><para> |
| 42420 |
msgid "" |
msgid "" |
| 42458 |
"refentrytitle><manvolnum>1</manvolnum></citerefentry>" |
"refentrytitle><manvolnum>1</manvolnum></citerefentry>" |
| 42459 |
|
|
| 42460 |
#. type: Content of: <book><chapter><section><section><itemizedlist><listitem><para> |
#. type: Content of: <book><chapter><section><section><itemizedlist><listitem><para> |
| 42461 |
|
#, fuzzy |
| 42462 |
|
#| msgid "" |
| 42463 |
|
#| "\"<literal>/dest/path/to/source/foo</literal>\": GNU " |
| 42464 |
|
#| "<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
| 42465 |
|
#| "citerefentry>, <citerefentry><refentrytitle>cpio</" |
| 42466 |
|
#| "refentrytitle><manvolnum>1</manvolnum></citerefentry>, and " |
| 42467 |
|
#| "<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</" |
| 42468 |
|
#| "manvolnum></citerefentry>" |
| 42469 |
msgid "" |
msgid "" |
| 42470 |
"\"<literal>/dest/path/to/source/foo</literal>\": GNU " |
"\"<literal>/dest/path/to/source/foo</literal>\": GNU " |
| 42471 |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
| 42478 |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
| 42479 |
"citerefentry>, <citerefentry><refentrytitle>cpio</" |
"citerefentry>, <citerefentry><refentrytitle>cpio</" |
| 42480 |
"refentrytitle><manvolnum>1</manvolnum></citerefentry>, et " |
"refentrytitle><manvolnum>1</manvolnum></citerefentry>, et " |
| 42481 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 42482 |
"citerefentry>" |
"citerefentry>" |
| 42483 |
|
|
| 42484 |
#. type: Content of: <book><chapter><section><section><tip><para> |
#. type: Content of: <book><chapter><section><section><tip><para> |
| 42634 |
"suit :" |
"suit :" |
| 42635 |
|
|
| 42636 |
#. type: Content of: <book><chapter><section><section><screen> |
#. type: Content of: <book><chapter><section><section><screen> |
| 42637 |
#, no-wrap |
#, fuzzy, no-wrap |
| 42638 |
|
#| msgid "" |
| 42639 |
|
#| "# find /path/to \\\n" |
| 42640 |
|
#| " -xdev -regextype posix-extended \\\n" |
| 42641 |
|
#| " -type f -regex \".*\\.cpio|.*~\" -prune -o \\\n" |
| 42642 |
|
#| " -type d -regex \".*/\\.git\" -prune -o \\\n" |
| 42643 |
|
#| " -type f -size +99M -prune -o \\\n" |
| 42644 |
|
#| " -type f -newer /path/to/timestamp -print0" |
| 42645 |
msgid "" |
msgid "" |
| 42646 |
"# find /path/to \\\n" |
"# find /path/to \\\n" |
| 42647 |
" -xdev -regextype posix-extended \\\n" |
" -xdev -regextype posix-extended \\\n" |
| 42652 |
msgstr "" |
msgstr "" |
| 42653 |
"# find /path/to \\\n" |
"# find /path/to \\\n" |
| 42654 |
" -xdev -regextype posix-extended \\\n" |
" -xdev -regextype posix-extended \\\n" |
| 42655 |
" -type f -regex \".*\\.afio|.*~\" -prune -o \\\n" |
" -type f -regex \".*\\.cpio|.*~\" -prune -o \\\n" |
| 42656 |
" -type d -regex \".*/\\.git\" -prune -o \\\n" |
" -type d -regex \".*/\\.git\" -prune -o \\\n" |
| 42657 |
" -type f -size +99M -prune -o \\\n" |
" -type f -size +99M -prune -o \\\n" |
| 42658 |
" -type f -newer /chemin/vers/horodatage -print0" |
" -type f -newer /chemin/vers/horodatage -print0" |
| 42678 |
"\"_regular_expressions\"/>) ;" |
"\"_regular_expressions\"/>) ;" |
| 42679 |
|
|
| 42680 |
#. type: Content of: <book><chapter><section><section><orderedlist><listitem><para> |
#. type: Content of: <book><chapter><section><section><orderedlist><listitem><para> |
| 42681 |
|
#, fuzzy |
| 42682 |
|
#| msgid "" |
| 42683 |
|
#| "Exclude files matching regex of \"<literal>.*\\.cpio</literal>\" or " |
| 42684 |
|
#| "\"<literal>.*~</literal>\" from search by stop processing" |
| 42685 |
msgid "" |
msgid "" |
| 42686 |
"Exclude files matching regex of \"<literal>.*\\.afio</literal>\" or " |
"Exclude files matching regex of \"<literal>.*\\.afio</literal>\" or " |
| 42687 |
"\"<literal>.*~</literal>\" from search by stop processing" |
"\"<literal>.*~</literal>\" from search by stop processing" |
| 42688 |
msgstr "" |
msgstr "" |
| 42689 |
"exclure les fichiers correspondant à l’expression rationnelle de « " |
"exclure les fichiers correspondant à l’expression rationnelle de « " |
| 42690 |
"<literal>.*\\.afio</literal> » ou « <literal>.*~</literal> » " |
"<literal>.*\\.cpio</literal> » ou « <literal>.*~</literal> » " |
| 42691 |
"de la recherche en arrêtant le traitement ;" |
"de la recherche en arrêtant le traitement ;" |
| 42692 |
|
|
| 42693 |
#. type: Content of: <book><chapter><section><section><orderedlist><listitem><para> |
#. type: Content of: <book><chapter><section><section><orderedlist><listitem><para> |
| 43184 |
"script pour ce faire :" |
"script pour ce faire :" |
| 43185 |
|
|
| 43186 |
#. type: Content of: <book><chapter><section><section><screen> |
#. type: Content of: <book><chapter><section><section><screen> |
| 43187 |
#, no-wrap |
#, fuzzy, no-wrap |
| 43188 |
|
#| msgid "" |
| 43189 |
|
#| "#!/bin/sh -e\n" |
| 43190 |
|
#| "# Copyright (C) 2007-2008 Osamu Aoki <osamu@debian.org>, Public Domain\n" |
| 43191 |
|
#| "BUUID=1000; USER=osamu # UID and name of a user who accesses backup files\n" |
| 43192 |
|
#| "BUDIR=\"/var/backups\"\n" |
| 43193 |
|
#| "XDIR0=\".+/Mail|.+/Desktop\"\n" |
| 43194 |
|
#| "XDIR1=\".+/\\.thumbnails|.+/\\.?Trash|.+/\\.?[cC]ache|.+/\\.gvfs|.+/sessions\"\n" |
| 43195 |
|
#| "XDIR2=\".+/CVS|.+/\\.git|.+/\\.svn|.+/Downloads|.+/Archive|.+/Checkout|.+/tmp\"\n" |
| 43196 |
|
#| "XSFX=\".+\\.iso|.+\\.tgz|.+\\.tar\\.gz|.+\\.tar\\.bz2|.+\\.cpio|.+\\.tmp|.+\\.swp|.+~\"\n" |
| 43197 |
|
#| "SIZE=\"+99M\"\n" |
| 43198 |
|
#| "DATE=$(date --utc +\"%Y%m%d-%H%M\")\n" |
| 43199 |
|
#| "[ -d \"$BUDIR\" ] || mkdir -p \"BUDIR\"\n" |
| 43200 |
|
#| "umask 077\n" |
| 43201 |
|
#| "dpkg --get-selections \\* > /var/lib/dpkg/dpkg-selections.list\n" |
| 43202 |
|
#| "debconf-get-selections > /var/cache/debconf/debconf-selections\n" |
| 43203 |
|
#| "\n" |
| 43204 |
|
#| "{\n" |
| 43205 |
|
#| "find /etc /usr/local /opt /var/lib/dpkg/dpkg-selections.list \\\n" |
| 43206 |
|
#| " /var/cache/debconf/debconf-selections -xdev -print0\n" |
| 43207 |
|
#| "find /home/$USER /root -xdev -regextype posix-extended \\\n" |
| 43208 |
|
#| " -type d -regex \"$XDIR0|$XDIR1\" -prune -o -type f -regex \"$XSFX\" -prune -o \\\n" |
| 43209 |
|
#| " -type f -size \"$SIZE\" -prune -o -print0\n" |
| 43210 |
|
#| "find /home/$USER/Mail/Inbox /home/$USER/Mail/Outbox -print0\n" |
| 43211 |
|
#| "find /home/$USER/Desktop -xdev -regextype posix-extended \\\n" |
| 43212 |
|
#| " -type d -regex \"$XDIR2\" -prune -o -type f -regex \"$XSFX\" -prune -o \\\n" |
| 43213 |
|
#| " -type f -size \"$SIZE\" -prune -o -print0\n" |
| 43214 |
|
#| "} | cpio -ov --null -O $BUDIR/BU$DATE.cpio\n" |
| 43215 |
|
#| "chown $BUUID $BUDIR/BU$DATE.cpio\n" |
| 43216 |
|
#| "touch $BUDIR/backup.stamp" |
| 43217 |
msgid "" |
msgid "" |
| 43218 |
"#!/bin/sh -e\n" |
"#!/bin/sh -e\n" |
| 43219 |
"# Copyright (C) 2007-2008 Osamu Aoki <osamu@debian.org>, Public Domain\n" |
"# Copyright (C) 2007-2008 Osamu Aoki <osamu@debian.org>, Public Domain\n" |
| 43251 |
"XDIR0=\".+/Mail|.+/Desktop\"\n" |
"XDIR0=\".+/Mail|.+/Desktop\"\n" |
| 43252 |
"XDIR1=\".+/\\.thumbnails|.+/\\.?Trash|.+/\\.?[cC]ache|.+/\\.gvfs|.+/sessions\"\n" |
"XDIR1=\".+/\\.thumbnails|.+/\\.?Trash|.+/\\.?[cC]ache|.+/\\.gvfs|.+/sessions\"\n" |
| 43253 |
"XDIR2=\".+/CVS|.+/\\.git|.+/\\.svn|.+/Downloads|.+/Archive|.+/Checkout|.+/tmp\"\n" |
"XDIR2=\".+/CVS|.+/\\.git|.+/\\.svn|.+/Downloads|.+/Archive|.+/Checkout|.+/tmp\"\n" |
| 43254 |
"XSFX=\".+\\.iso|.+\\.tgz|.+\\.tar\\.gz|.+\\.tar\\.bz2|.+\\.afio|.+\\.tmp|.+\\.swp|.+~\"\n" |
"XSFX=\".+\\.iso|.+\\.tgz|.+\\.tar\\.gz|.+\\.tar\\.bz2|.+\\.cpio|.+\\.tmp|.+\\.swp|.+~\"\n" |
| 43255 |
"SIZE=\"+99M\"\n" |
"SIZE=\"+99M\"\n" |
| 43256 |
"DATE=$(date --utc +\"%Y%m%d-%H%M\")\n" |
"DATE=$(date --utc +\"%Y%m%d-%H%M\")\n" |
| 43257 |
"[ -d \"$BUDIR\" ] || mkdir -p \"BUDIR\"\n" |
"[ -d \"$BUDIR\" ] || mkdir -p \"BUDIR\"\n" |
| 43372 |
"machine distante." |
"machine distante." |
| 43373 |
|
|
| 43374 |
#. type: Content of: <book><chapter><section><section><screen> |
#. type: Content of: <book><chapter><section><section><screen> |
| 43375 |
#, no-wrap |
#, fuzzy, no-wrap |
| 43376 |
|
#| msgid "" |
| 43377 |
|
#| "#!/bin/sh -e\n" |
| 43378 |
|
#| "# Copyright (C) 2007-2008 Osamu Aoki <osamu@debian.org>, Public Domain\n" |
| 43379 |
|
#| "fdot(){ find . -type d \\( -iname \".?*\" -o -iname \"CVS\" \\) -prune -o -print0;}\n" |
| 43380 |
|
#| "fall(){ find . -print0;}\n" |
| 43381 |
|
#| "mkdircd(){ mkdir -p \"$1\";chmod 700 \"$1\";cd \"$1\">/dev/null;}\n" |
| 43382 |
|
#| "FIND=\"fdot\";OPT=\"-a\";MODE=\"CPIOP\";HOST=\"localhost\";EXTP=\"$(hostname -f)\"\n" |
| 43383 |
|
#| "BKUP=\"$(basename $(pwd)).bkup\";TIME=\"$(date +%Y%m%d-%H%M%S)\";BU=\"$BKUP/$TIME\"\n" |
| 43384 |
|
#| "while getopts gcCsStrlLaAxe:h:T f; do case $f in\n" |
| 43385 |
|
#| "g) MODE=\"GNUCP\";; # cp (GNU)\n" |
| 43386 |
|
#| "c) MODE=\"CPIOP\";; # cpio -p\n" |
| 43387 |
|
#| "C) MODE=\"CPIOI\";; # cpio -i\n" |
| 43388 |
|
#| "s) MODE=\"CPIOSSH\";; # cpio/ssh\n" |
| 43389 |
|
#| "S) MODE=\"AFIOSSH\";; # cpio/ssh\n" |
| 43390 |
|
#| "t) MODE=\"TARSSH\";; # tar/ssh\n" |
| 43391 |
|
#| "r) MODE=\"RSYNCSSH\";; # rsync/ssh\n" |
| 43392 |
|
#| "l) OPT=\"-alv\";; # hardlink (GNU cp)\n" |
| 43393 |
|
#| "L) OPT=\"-av\";; # copy (GNU cp)\n" |
| 43394 |
|
#| "a) FIND=\"fall\";; # find all\n" |
| 43395 |
|
#| "A) FIND=\"fdot\";; # find non CVS/ .???/\n" |
| 43396 |
|
#| "x) set -x;; # trace\n" |
| 43397 |
|
#| "e) EXTP=\"${OPTARG}\";; # hostname -f\n" |
| 43398 |
|
#| "h) HOST=\"${OPTARG}\";; # user@remotehost.example.com\n" |
| 43399 |
|
#| "T) MODE=\"TEST\";; # test find mode\n" |
| 43400 |
|
#| "\\?) echo \"use -x for trace.\"\n" |
| 43401 |
|
#| "esac; done\n" |
| 43402 |
|
#| "shift $(expr $OPTIND - 1)\n" |
| 43403 |
|
#| "if [ $# -gt 0 ]; then\n" |
| 43404 |
|
#| " for x in $@; do cp $OPT $x $x.$TIME; done\n" |
| 43405 |
|
#| "elif [ $MODE = GNUCP ]; then\n" |
| 43406 |
|
#| " mkdir -p \"../$BU\";chmod 700 \"../$BU\";cp $OPT . \"../$BU/\"\n" |
| 43407 |
|
#| "elif [ $MODE = CPIOP ]; then\n" |
| 43408 |
|
#| " mkdir -p \"../$BU\";chmod 700 \"../$BU\"\n" |
| 43409 |
|
#| " $FIND|cpio --null --sparse -pvd ../$BU\n" |
| 43410 |
|
#| "elif [ $MODE = CPIOI ]; then\n" |
| 43411 |
|
#| " $FIND|cpio -ov --null | ( mkdircd \"../$BU\"&&cpio -i )\n" |
| 43412 |
|
#| "elif [ $MODE = CPIOSSH ]; then\n" |
| 43413 |
|
#| " $FIND|cpio -ov --null|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&&cpio -i )\"\n" |
| 43414 |
|
#| "elif [ $MODE = AFIOSSH ]; then\n" |
| 43415 |
|
#| " $FIND|cpio -ov -0 -|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&&cpio -i - )\"\n" |
| 43416 |
|
#| "elif [ $MODE = TARSSH ]; then\n" |
| 43417 |
|
#| " (tar cvf - . )|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&& tar xvfp - )\"\n" |
| 43418 |
|
#| "elif [ $MODE = RSYNCSSH ]; then\n" |
| 43419 |
|
#| " rsync -rlpt ./ \"${HOST}:${EXTP}-${BKUP}-${TIME}\"\n" |
| 43420 |
|
#| "else\n" |
| 43421 |
|
#| " echo \"Any other idea to backup?\"\n" |
| 43422 |
|
#| " $FIND |xargs -0 -n 1 echo\n" |
| 43423 |
|
#| "fi" |
| 43424 |
msgid "" |
msgid "" |
| 43425 |
"#!/bin/sh -e\n" |
"#!/bin/sh -e\n" |
| 43426 |
"# Copyright (C) 2007-2008 Osamu Aoki <osamu@debian.org>, Public Domain\n" |
"# Copyright (C) 2007-2008 Osamu Aoki <osamu@debian.org>, Public Domain\n" |
| 43482 |
"c) MODE=\"CPIOP\";; # cpio -p\n" |
"c) MODE=\"CPIOP\";; # cpio -p\n" |
| 43483 |
"C) MODE=\"CPIOI\";; # cpio -i\n" |
"C) MODE=\"CPIOI\";; # cpio -i\n" |
| 43484 |
"s) MODE=\"CPIOSSH\";; # cpio/ssh\n" |
"s) MODE=\"CPIOSSH\";; # cpio/ssh\n" |
| 43485 |
"S) MODE=\"AFIOSSH\";; # afio/ssh\n" |
"S) MODE=\"AFIOSSH\";; # cpio/ssh\n" |
| 43486 |
"t) MODE=\"TARSSH\";; # tar/ssh\n" |
"t) MODE=\"TARSSH\";; # tar/ssh\n" |
| 43487 |
"r) MODE=\"RSYNCSSH\";; # rsync/ssh\n" |
"r) MODE=\"RSYNCSSH\";; # rsync/ssh\n" |
| 43488 |
"l) OPT=\"-alv\";; # lien dur (GNU cp)\n" |
"l) OPT=\"-alv\";; # lien dur (GNU cp)\n" |
| 43508 |
"elif [ $MODE = CPIOSSH ]; then\n" |
"elif [ $MODE = CPIOSSH ]; then\n" |
| 43509 |
" $FIND|cpio -ov --null|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&&cpio -i )\"\n" |
" $FIND|cpio -ov --null|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&&cpio -i )\"\n" |
| 43510 |
"elif [ $MODE = AFIOSSH ]; then\n" |
"elif [ $MODE = AFIOSSH ]; then\n" |
| 43511 |
" $FIND|afio -ov -0 -|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&&afio -i - )\"\n" |
" $FIND|cpio -ov -0 -|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&&cpio -i - )\"\n" |
| 43512 |
"elif [ $MODE = TARSSH ]; then\n" |
"elif [ $MODE = TARSSH ]; then\n" |
| 43513 |
" (tar cvf - . )|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&& tar xvfp - )\"\n" |
" (tar cvf - . )|ssh -C $HOST \"( mkdircd \\\"$EXTP/$BU\\\"&& tar xvfp - )\"\n" |
| 43514 |
"elif [ $MODE = RSYNCSSH ]; then\n" |
"elif [ $MODE = RSYNCSSH ]; then\n" |
| 43892 |
"partage de données ce qui suit sera une précaution sûre :" |
"partage de données ce qui suit sera une précaution sûre :" |
| 43893 |
|
|
| 43894 |
#. type: Content of: <book><chapter><section><section><itemizedlist><listitem><para> |
#. type: Content of: <book><chapter><section><section><itemizedlist><listitem><para> |
| 43895 |
|
#, fuzzy |
| 43896 |
|
#| msgid "" |
| 43897 |
|
#| "Archiving files into an archive file first using " |
| 43898 |
|
#| "<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
| 43899 |
|
#| "citerefentry>, <citerefentry><refentrytitle>cpio</" |
| 43900 |
|
#| "refentrytitle><manvolnum>1</manvolnum></citerefentry>, or " |
| 43901 |
|
#| "<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</" |
| 43902 |
|
#| "manvolnum></citerefentry> to retain the long filename, the symbolic link, " |
| 43903 |
|
#| "the original Unix file permission and the owner information." |
| 43904 |
msgid "" |
msgid "" |
| 43905 |
"Archiving files into an archive file first using " |
"Archiving files into an archive file first using " |
| 43906 |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
| 43914 |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>tar</refentrytitle><manvolnum>1</manvolnum></" |
| 43915 |
"citerefentry>, <citerefentry><refentrytitle>cpio</" |
"citerefentry>, <citerefentry><refentrytitle>cpio</" |
| 43916 |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> ou " |
"refentrytitle><manvolnum>1</manvolnum></citerefentry> ou " |
| 43917 |
"<citerefentry><refentrytitle>afio</refentrytitle><manvolnum>1</manvolnum></" |
"<citerefentry><refentrytitle>cpio</refentrytitle><manvolnum>1</manvolnum></" |
| 43918 |
"citerefentry> afin de conserver les noms de fichiers longs, les permissions " |
"citerefentry> afin de conserver les noms de fichiers longs, les permissions " |
| 43919 |
"de fichiers d'origine d’UNIX et les informations de propriétaire." |
"de fichiers d'origine d’UNIX et les informations de propriétaire." |
| 43920 |
|
|