Movatterモバイル変換


[0]ホーム

URL:


building a large file

ben at co.and.coben at co.and.co
Sun Apr 15 08:43:51 EDT 2001


Andrew Dalke <dalke at acm.org> wrote:> Emile van Sebille asked:>>Doesn't tar do exactly this?>> where "this" was defined by Thomas Duterme to mean:>>> for x in os.listdir('.'):>>>     os.system('cat '+x+' >> mylargefile)>> No, tar doesn't do that because it adds data needed to> extract each file.  On the other hand, cat does:>> cat * > mylargefile>> though this won't read the dotfiles.But $ cat .* * > mylargefile does.  Greetings,-- ben . de . rydt at pandora . be ------------------ your commentshttp://users.pandora.be/bdr/ ------- inl. IPv6, Linux en Pandora


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp