bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with cp (copy)


From: David T-G
Subject: Re: Problem with cp (copy)
Date: Tue, 21 Jan 2003 21:21:32 -0500
User-agent: Mutt/1.4i

Phillip --

...and then Mr. Phillip Kimble said...
% 
% Greetings,

Hello!


% 
% I recently stumbled across a strange problem using cp which I do not
% understand. Here is the scenario;
...
% Cp -far /home/ftp/tmp/2001/01.*.01/* /home/user/admin/tmp/
% 
% All worked well for 01, 02, 03, 04, (Jan, Feb, Mar, & Apr). Once I
% entered 05.*.01, I received the error, "Argument list is too long".

What do you get when you run

  ls -1 /home/ftp/tmp/2002/01.01.01/* | wc -l
  ls -1 /home/ftp/tmp/2002/01.02.01/* | wc -l
  ls -1 /home/ftp/tmp/2002/01.03.01/* | wc -l
  ls -1 /home/ftp/tmp/2002/01.04.01/* | wc -l
  ls -1 /home/ftp/tmp/2002/01.05.01/* | wc -l

at your shell prompt?  I suspect that there are lots of files in .05 but
not so many files in .01 - .04 dirs.


HTH & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) address@hidden * society and not sufficient moral courage.
(work) address@hidden  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp8Z6Nwvhgs_.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]