Search Results

Search: Posts Made By: dubuku_01
1,079
Posted By dubuku_01
Hi Jotne, Thanks for your input. But the...
Hi Jotne,

Thanks for your input. But the code creates the filenames with a space accompanied to it, like

file1.txt, file2.txt, file3.txt

but my output should be like
...
1,079
Posted By dubuku_01
Thank you :)
Thank you :)
1,079
Posted By dubuku_01
To eliminate the created filename
Hi All,

I have two files in the directory
file1.txt
file2.txt

I gave ls -m > output.txt command and I got the output as
file1.txt, file2.txt, output.txt

But my output should be like...
3,141
Posted By dubuku_01
Script to list the file names in a directory
Hi all,

I need a shell script to write into a .txt file the no of files in a directory with extension and separated by comma in between. For eg, a directory contains files like
a.csv
b.csv...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy