I need to determine if any three files have the same file size in a specified directly?
I have got as far as listing the file sizes but where to go from here?
ls -al |sort -n -r +4 | awq '{print $5}'
Thanks in anticipation (5 Replies)
I am wanting to find files within a directory that are over a certain number of days old and copy them to another directory. And unfortunately not having much luck.......is someone able to help.
Would also like to add that there are literally thousands of files that I am wanting to copy in one... (3 Replies)
Hi Everyone,
It would be helpful if someone helps me on this.
Requirement:
I have a directory which includes different types of files(for example *.java,*.class),but not restricted for only these types. I need to find the same types of file extensions from its directories and subdirectories... (3 Replies)
Hello Everyone!
I trust you are off to a great week! Trying to output the name and count of each uniquely occurring domain in the current directory for a portion of a script I'm building.
Here's what I'm stuck on:
- Need to find UNIQUE occurences of domains (*@domain.com) in ALL files in... (4 Replies)
How can I list the files in a directory and just show the file size, date stamp, timestamp and file name..
I've been trying to ls -lrt the directory to a file and then use the cut command but I'm not having any luck with getting the proper results.. I thought i could use the -f switch and count... (4 Replies)
Hi All,
Request your expertise in tackling one requirement in my project,(i dont have much expertise in Shell Scripting). The requirement is as below,
1) We store the last run date of a process in a file. When the batch run the next time, it should read this file, get the last run date from... (1 Reply)
hi,
I am having script in which i want to check if directory has any file in it or not. If directory contains a single or more files then and only then it should proceed to further operations...
P.S.: Directory might have thousand number of files. so there might be chance of getting error... (4 Replies)
Hi All,
I wanted to write a script to check if set of files exist in a directory or not for a particular day. each file has a date stamp. Now i want to implement this -
-i can check files of a particular date in a particular folder
-generate log and send it to through email.
Big THANKS !!... (5 Replies)
Hi,
I want a simple line of code that will compress files within a directory specified (parameter) and its subdirectories and also i want to remove files which are exactly 365 days old from the sysdate after this compression.
Please help.
Thanks,
JD (8 Replies)
I'm trying to wirte ksh script for given requirement, but i unable to achive it.
In dir1 directory I need to check for the files which suffixed with .csv or .txt, If there is no files, then i need to exit. If any files found I need to move the each file found to dir2 directory. I have to repeat... (4 Replies)
Discussion started by: Kayal
4 Replies
LEARN ABOUT LINUX
sip
SIP(1) General Commands Manual SIP(1)NAME
sip - generates C++/Python bindings
SYNOPSIS
sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I dir] [-j #] [-k] [-m file] [-o] [-p module] [-P] [-r] [-s suffix] [-t tag] [-w]
[-x feature] [-z file] [file]
DESCRIPTION
sip takes a set of specification files and generates C++ code, documentation and build files.
The format of the needed specification file is similar to a C++ header. sip includes run-time support for the generated code.
OPTIONS -h Show summary of options.
-V Display the sip version number
-a file
The name of the QScintilla API file. If not indicated, it will not be generated.
-b file
The name of the build file. If not indicated, it will not be generated.
-c dir The name of the directory where generated source file will be put. If not indicated, no code will be generated.
-d file
The name of the documentation file. If not indicated, no documentation will be generated.
-e Enable support for exceptions. Disabled by default.
-g Always release and reaquire the GIL.
-I dir Directory where sip can search for included files.
-j number
Splits the generated code in number files (1 by default). This flag was added for parallel compilation on SMP machines.
-m file
The name of the XML export file. If not indicated, the file will not be generated.
-p module
Give the name of the consolidated module this module should be a part of.
-P Enable the protected/public hack.
-r Enable tracing on generated code.
-s suffix
The suffix used for generated C or C++ files (".c" or ".cpp" if none specified)
-t tag The primary version to tag generate code for. You only can specify those defined with a %Timeline directive. If you don't specify
one, sip will generate the latest available.
-w Enable warning messages
-x feature
Disable a feature
-z file
The name of a file containing additional command line flags
file The name of the file containing the specification. If you skip it, sip will expect to be fed by stdin.
AUTHOR
This manual page was written by Ricardo Javier Cardenes Medina <rcardenes@debian.org> and Torsten Marek <shlomme@debian.org>, for the
Debian GNU/Linux system (but may be used by others).
2010/02/02 SIP(1)