(Courriels de diversion: <helerais@oppression-panachera.com> <exploiterai@cahots-deroutant.com> <coudrait@antipathiques-denaturait.com> <connectera@parcellarise-bafouilliez.com> <detecterait@vexes-martelait.com> <irrespirable@empêtreraient-vilipendait.com> <desoeuvre@satisfaisaient-melangerai.com> <lecheront@replats-deplafonnent.com> <debraguetter@soulignera-emblavure.com> <edictees@apprehendais-sortis.com> )
'soir tout le monde. En bon paranoïaque prudent (pléonasme?), je fais des sauvegardes. Comme c'est un peu pénible à la longue de lister les fichiers à sauvegarder, je pensais utiliser une commande dans le genre: tar cf /tmp/Archives_tar/Ma_sauvegarde.tar $( find ~/ -mtime -5) en remplaçant bien sur 5 par le nombre de jours depuis ma dernière sauvegarde. A première vue, ça se passe bien. Il y a quand même qque chose qui m'intrigue: si je fais find ~/ -mtime -5, j'ai un liste qui est beaucoup plus courte que quand je fais un tar tf de l'archive qui a été crée avec la première commande. D'où vient l'erreur? Merci. A+ ******************************************* $ find ~/ -mtime -5 /home/essai/ /home/essai/tmp /home/essai/Documents /home/essai/.bash_history /home/essai/.tmpdirs /home/essai/.tmpdirs/localhost.localdomain /home/essai/.xauth8iIcYN /home/essai/.xauthW6EFaf /home/essai/.xauthbgqP04 ****************************************** tar cf /tmp/Archives_tar/Ma_sauvegarde.tar $( find ~/ -mtime -5) tar: Retrait de l'en-tête `/' des noms des membres tar tf /tmp/Archives_tar/Ma_sauvegarde.tar home/essai/ home/essai/tmp/ home/essai/.screenrc home/essai/.bash_logout home/essai/.bash_profile home/essai/.bashrc home/essai/.mailcap home/essai/.wmrc home/essai/.xsession-errors home/essai/.drakfw home/essai/.gtkrc home/essai/.Xauthority home/essai/Documents/ home/essai/.kde/ home/essai/.kde/share/ home/essai/.kde/share/config/ home/essai/.kde/share/config/kcmartsrc home/essai/.kde/share/config/konqsidebartng.rc home/essai/.kde/share/config/kconf_updaterc home/essai/.kde/share/config/kioslaverc home/essai/.kde/share/config/konsolerc home/essai/.kde/share/config/kcminitrc home/essai/.kde/share/config/kdeglobals home/essai/.kde/share/config/kdesktoprc home/essai/.kde/share/config/kickerrc home/essai/.kde/share/config/klipperrc home/essai/.kde/share/config/ktronrc home/essai/.kde/share/config/kppprc home/essai/.kde/share/config/ktaskbarrc home/essai/.kde/share/config/konquerorrc home/essai/.kde/share/config/kviewrc home/essai/.kde/share/config/konq_history home/essai/.kde/share/apps/ home/essai/.kde/share/apps/konqueror/ home/essai/.kde/share/apps/konqueror/bookmarks.xml home/essai/.kde/share/apps/konqueror/dirtree/ home/essai/.kde/share/apps/konqueror/dirtree/bookmarks.desktop home/essai/.kde/share/apps/konqueror/dirtree/history.desktop home/essai/.kde/share/apps/konqueror/dirtree/home.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/ home/essai/.kde/share/apps/konqueror/dirtree/remote/ftp/ home/essai/.kde/share/apps/konqueror/dirtree/remote/ftp/kde_ftp.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/ftp/.directory home/essai/.kde/share/apps/konqueror/dirtree/remote/web/ home/essai/.kde/share/apps/konqueror/dirtree/remote/web/apps_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/.directory home/essai/.kde/share/apps/konqueror/dirtree/remote/web/mdkbizcase_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/dot_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/kde_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/mdk_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/mdkcampus_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/mdkexpert_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/mdkforum_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/mdkonline_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/web/mdkstore_web.desktop home/essai/.kde/share/apps/konqueror/dirtree/remote/.directory home/essai/.kde/share/apps/konqueror/dirtree/remote/lan.desktop home/essai/.kde/share/apps/konqueror/dirtree/root.desktop home/essai/.kde/share/apps/konqueror/dirtree/services/ home/essai/.kde/share/apps/konqueror/dirtree/services/audiocd.desktop home/essai/.kde/share/apps/konqueror/dirtree/services/.directory home/essai/.kde/share/apps/konqueror/dirtree/.directory home/essai/.kde/share/apps/konqueror/konq_history home/essai/.kde/share/apps/kio_http/ home/essai/.kde/share/apps/kio_http/cache/ home/essai/.kde/share/apps/kio_http/cache/cleaned home/essai/.kde/share/apps/RecentDocuments/ home/essai/.kde/share/apps/ksnake/ home/essai/.kde/share/apps/ksnake/highScores home/essai/.kde/share/apps/kppp/ home/essai/.kde/share/apps/kppp/Rules/ home/essai/.kde/share/apps/konqsidebartng/ home/essai/.kde/share/apps/konqsidebartng/entries/ home/essai/.kde/share/apps/konqsidebartng/entries/bookmarks.desktop home/essai/.kde/share/apps/konqsidebartng/entries/history.desktop home/essai/.kde/share/apps/konqsidebartng/entries/home.desktop home/essai/.kde/share/apps/konqsidebartng/entries/remote.desktop home/essai/.kde/share/apps/konqsidebartng/entries/root.desktop home/essai/.kde/share/apps/konqsidebartng/entries/services.desktop home/essai/.kde/share/apps/konqsidebartng/entries/sidebar_classic.desktop home/essai/.kde/share/apps/konqsidebartng/entries/.version home/essai/.kde/share/apps/khtml/ home/essai/.kde/share/fonts/ home/essai/.kde/share/fonts/override/ home/essai/.kde/share/fonts/override/fonts.dir home/essai/.kde/share/fonts/fonts.dir home/essai/.kde/share/icons/ home/essai/.kde/share/icons/favicons/ home/essai/.kde/Autostart/ home/essai/.kde/Autostart/.directory home/essai/.kde/tmp-localhost.localdomain home/essai/.kde/socket-localhost.localdomain home/essai/Desktop/ home/essai/Desktop/.ArrangeIcons home/essai/Desktop/.directory home/essai/Desktop/CD-ROM home/essai/Desktop/.CD-ROM home/essai/Desktop/CD-ROM2 home/essai/Desktop/.CD-ROM2 home/essai/Desktop/Floppy home/essai/Desktop/.Floppy home/essai/Desktop/Floppy2 home/essai/Desktop/.Floppy2 home/essai/Desktop/.md5sumetcfstab home/essai/Desktop/cdcom.desktop home/essai/Desktop/.cdcom home/essai/Desktop/Mandrake Control Center.desktop home/essai/Desktop/.ccenter home/essai/Desktop/Home.desktop home/essai/Desktop/.home home/essai/Desktop/internet.desktop home/essai/Desktop/.internet home/essai/Desktop/Mandrake Expert.desktop home/essai/Desktop/.mdkexpert home/essai/Desktop/Mandrake Online.desktop home/essai/Desktop/.mdkonline home/essai/Desktop/Mandrake Store.desktop home/essai/Desktop/.mdkstore home/essai/Desktop/XKill.desktop home/essai/Desktop/.xkill home/essai/Desktop/Corbeille/ home/essai/Desktop/Corbeille/.directory home/essai/Desktop/Corbeille/10 - copie.JPG home/essai/Desktop/Corbeille/1823BP23 - copie.JPG home/essai/Desktop/Corbeille/4 - copie.JPG home/essai/.sawfish/ home/essai/.sawfish/window-history home/essai/.gnome/ home/essai/.gnome/accels/ home/essai/.gnome/accels/Terminal home/essai/.gnome/Terminal home/essai/.DCOPserver_localhost.localdomain home/essai/.gtkrc-kde home/essai/.tuxpuckrc home/essai/.mcoprc home/essai/.ICEauthority home/essai/.tuxracer/ home/essai/.tuxracer/options home/essai/.tuxracer/noname.sav home/essai/users/ home/essai/users/debug.log home/essai/temp/ home/essai/.bzflag home/essai/log.txt home/essai/.bash_history home/essai/.merge/ home/essai/.merge/win.sh.log home/essai/.merge/dos.cfd home/essai/.merge/win.cfw home/essai/.merge/.tmp8255.cfw home/essai/win/ home/essai/win/config.sys home/essai/win/tmp/ home/essai/.gnome_private/ home/essai/.xcdroast/ home/essai/.xcdroast/xcdr098.cfg home/essai/.tmpdirs/ home/essai/.tmpdirs/localhost.localdomain home/essai/.xauth8iIcYN home/essai/.xauthW6EFaf home/essai/.xauthbgqP04 home/essai/tmp/ home/essai/Documents/ home/essai/.bash_history home/essai/.tmpdirs/ home/essai/.tmpdirs/localhost.localdomain home/essai/.tmpdirs/localhost.localdomain home/essai/.xauth8iIcYN home/essai/.xauthW6EFaf home/essai/.xauthbgqP04 ****************************************** -- claude.micouin@free.fr --------------------------------------------------------------------- Aide sur la liste: <URL:mailto:linux-31-help@CULTe.org>Le CULTe sur le web: <URL:http://www.CULTe.org/>