Displaying 2 results from an estimated 2 matches for "no_of_files".
2012 Aug 10
1
Split CSV as per file size
Hi here i have a code to split a csv file as per group of line.
The code given below,
------------------------------------
SplitCSVByLine <- function(DataMatrix,Destination,NoOfLineToGroup)
{
input <- file(DataMatrix, "r")
fileNo <- 1
repeat
{
myLines <- readLines(input, n=NoOfLineToGroup)
if (length(myLines) == 0) break
2024 Sep 01
1
geo-rep will not initialize
...]
++++ df -P -B1 /tmp/gverify.sh.WqWlni
++++ tail -1
+++ echo pms:n 286755311616 2868690944 283886620672 2%
/tmp/gverify.sh.WqWlni
++ used_size=2868690944
+++ find /tmp/gverify.sh.WqWlni -maxdepth 1 -path
/tmp/gverify.sh.WqWlni/.trashcan -prune -o -path /tmp/gverify.sh.WqWlni
-o -print0 -quit
++ no_of_files=
++ umount_lazy /tmp/gverify.sh.WqWlni
++ local os
++ case `uname -s` in
+++ uname -s
++ os=Linux
++ [[ XLinux = \X\N\e\t\B\S\D ]]
++ umount -l /tmp/gverify.sh.WqWlni
++ rmdir /tmp/gverify.sh.WqWlni
+++ cmd_secondary
+++ local cmd_line
++++ cat
+++ cmd_line='function do_verify() {
ver=$(gluster...