Hi
if anyone could help me :)
I did a lot of search and 70% of answer is "how to count files in all subdirectories".
A basic problem for me is how to count files in every subdirectory separately then sort it by number of files
For example:
dir1
file1
file2
subdir11
dir2
dir3
... (3 Replies)
Hello experts,
I used following approach to get listing of all files of remote server.
Now I have remote server file information on same server.
I am getting listing in the output.txt
I want to count today's created files and old files.
I want to compare the numbers... (11 Replies)
Hi,
Please let me know how to find out number of files in a directory excluding existing files..The existing file format will be unknown..each time..
Thanks (3 Replies)
I was wondering if anyone could help me with this problem:
Write a script called countFiles that takes two arguments, the initial directory and the number of levels and returns the count of all files (including directories) in the directories and subdirectories up to the number of levels.
... (4 Replies)
Hi All!
I need to have a script that counts the number of files arriving in a landing directory, them some app pick these files to be processed and load to a DB. But this process is so fast that I am not able to count all the files arriving on a landing directory.
Please can you help?
My... (6 Replies)
hi All, Any one answer my requirement.
I have source location
src_dir="/home/oracle/arun/IRMS-CM"
My Target location
dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct"
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)
Hi,
Very good wishes to all!
Please help to provide the shell script for generating the record counts in filed wise from the .csv file
My question:
Source file:
Field1 Field2 Field3
abc 12f sLm
1234 hjd 12d
Hyd 34
Chn
My target file should generate the .csv file with the... (14 Replies)
Discussion started by: Kirands
14 Replies
LEARN ABOUT MINIX
mkproto
MKPROTO(1) General Commands Manual MKPROTO(1)NAME
mkproto - create a MINIX prototype file
SYNOPSIS
mkproto [-b n] [-d str] [-g n] [-i n] [-p nnn] [-s] [-t root] [-u n] source_directory [prototype_file]
OPTIONS -b Number of blocks in the prototype is n
-d Indent the prototype file using str instead of tab
-g Use n as the gid for all files and directories
-i Number of i-nodes in the prototype is n
-p Use nnn (3 octal digits) as the protection mode
-s Use the same uid, gid and mode as the source files have
-t Use the string root as the path prefix for every file
-u Use n as the uid for all files and directories
EXAMPLES
mkproto -b360 # Make a 360K prototype of this directory
mkproto -u2 -g1 -p644
# Give all files uid 2, gid 1 and mode 644
DESCRIPTION
Mkproto creates an mkfs prototype file for the specified source-directory. The prototype file is either written to stdout or, if speci-
fied, the proto-file.
SEE ALSO mkfs(1).
MKPROTO(1)