Date: Wed, 1 Jun 2011 08:15:02 GMT From: vermaden <vermaden@interia.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/157491: update ls/rm/mv/cp tools to be able to handle large amount of files Message-ID: <201106010815.p518F2Tw006538@red.freebsd.org> Resent-Message-ID: <201106010820.p518KBBW005344@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157491 >Category: misc >Synopsis: update ls/rm/mv/cp tools to be able to handle large amount of files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 01 08:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: vermaden >Release: 8.2-RELENG_8-20110411-JPSNAP >Organization: >Environment: FreeBSD e6400 8.2-RELENG_8-20110411-JPSNAP FreeBSD 8.2-RELENG_8-20110411-JPSNAP #0: Mon Apr 11 04:35:01 UTC 2011 root@build-amd64-fbsd.allbsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The 'basic' tools like ls/mv/cp/rm are not able to handle large amount of files: # ls /var/db/portsnap/files | wc -l 22682 # ls /var/db/portsnap/files/* zsh: argument list too long: ls # mv /var/db/portsnap/files/* /tmp zsh: argument list too long: mv >How-To-Repeat: These for about 22000 files and more: ls /var/db/portsnap/files/* mv /var/db/portsnap/files/* /tmp >Fix: Increase these tools limits. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106010815.p518F2Tw006538>