merci � vous 2 mais man split n'est pas la bonne solution � mon probl�me, � moins que je ne l'utilise mal, je m'explique: le split d�coupe le fichier en r�alisant une copie de ce fichier si je fait split -l 100000 filename result je vais bien avoir resulta, resultb..... mais mon fichier de d�part reste � la meme taille!!!! -> je bourre mon disque je suppose que � la fin du process il fait un rm du fichier original (ici impossible cf faut 2 fois la place disque du fichier de d�part - ce que je n'ai pas)
une id�e, merci Dominique Gallot wrote: > man split > > |---------+-------------------------------> > | | Alain Vander Velde | > | | <[EMAIL PROTECTED]> | > | | Sent by: | > | | [EMAIL PROTECTED]| > | | unixtech.be | > | | | > | | | > | | 18/12/2003 10:48 | > | | Please respond to | > | | linux | > | | | > |---------+-------------------------------> > > >-------------------------------------------------------------------------------------------------------------------| > | > | > | To: linuxteam <[EMAIL PROTECTED]> > | > | cc: (bcc: Dominique Gallot/BRU/MASTERCARD) > | > | Subject: [linux] comment couper un gros fichier > | > > >-------------------------------------------------------------------------------------------------------------------| > > j'ai un petit probleme: > gros fichier qui prend toute la place sur mon hd, > je voudrais le couper en petits morceaux pour pouvoir les compresser et > les envoyer vers une autre machine > gros fichier plusieurs GB, reste libre <1GB > > une id�e, merci d'avance > > rem: > j'ai imaginer boucles de head -1000 > filename puis tar > et > un sed '1,1000d' xx > newfile > mais sed ne fonctionne pas bien car newfile sera trop grand et prendra > toute la place sur le hd > > -- > Vander Velde Alain > Tel: 32(0)2 260.09.66 > Fax: 32(0)2 270.15.67 > > NATIONAL BOTANIC GARDEN OF BELGIUM > Domein van Bouchout > B-1860 Meise > Belgium > > **** visit the website **** > BIODIVERSITY RESOURCES IN BELGIUM > http://www.br.fgov.be/BIODIV/ > > _______________________________________________________ > Linux Mailing List - http://www.unixtech.be > Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux > Archives: http://www.mail-archive.com/[EMAIL PROTECTED] > IRC: efnet.unixtech.be:6667 - #unixtech > > ----------------------------------------- > CONFIDENTIALITY NOTICE > This E-mail message and any documents which accompany it are intended only for the > use of the individual or entity to which addressed, and may contain information that > is privileged, confidential or exempt from disclosure under applicable law. If the > reader is not the intended recipient, any disclosure, distribution or other use of > this E-mail message is prohibited. If you have received this E-mail message in > error, please delete and notify the sender immediately. Thank you. > > _______________________________________________________ > Linux Mailing List - http://www.unixtech.be > Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux > Archives: http://www.mail-archive.com/[EMAIL PROTECTED] > IRC: efnet.unixtech.be:6667 - #unixtech -- Vander Velde Alain Tel: 32(0)2 260.09.66 Fax: 32(0)2 270.15.67 NATIONAL BOTANIC GARDEN OF BELGIUM Domein van Bouchout B-1860 Meise Belgium **** visit the website **** BIODIVERSITY RESOURCES IN BELGIUM http://www.br.fgov.be/BIODIV/ _______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux Archives: http://www.mail-archive.com/[EMAIL PROTECTED] IRC: chat.unixtech.be:6667 - #unixtech

