bug-coreutils
[Top][All Lists]
Advanced

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

bug#17904: issue with split command


From: jayaprakash.vambara
Subject: bug#17904: issue with split command
Date: Wed, 2 Jul 2014 21:16:47 +0000

Hello,

I am using split command to split a large file and later I am renaming file. 
PFB command.

find . -size +1000 -exec split -l 10000 {\} {}-new \;
find . -type f  -name "*new*" -exec mv "{}" "{}".list \;

However, this is giving correct result sometimes and other times :
while creating files, the file with name ending newaa is missing .(This would 
be the first file output while splitting)

For ex:
If I split a file named "sample" of size 1100 KB and with 25000 lines. If I run 
the above query:

Sometimes the result is:
Samplenewaa.list
Samplenewab.list
Samplenewac.list

But other times,only:
Samplenewab.list
Samplenewac.list

Can you please look into this and let me know if this is a bug or if I am doing 
something wrong.

Thank You,

Met vriendelijke groet / With Kind Regards,
V. Jayaprakash
+31684606944





reply via email to

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