Sponsored Content
Top Forums Shell Programming and Scripting Important finding --- find files greater than 1 MB Post 302298643 by wabard on Wednesday 18th of March 2009 08:14:12 AM
Old 03-18-2009
By default, the find command parses through sub-directories. What O/S Flavor are you on?


for example...

find . -print

will return a complete file listing for everything from the current directory down...

Note that not all U**X Flavor support the human readable size nomenclature. Try +1000k instead. All find command support sizes of b,c,w and k.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How can I automatically find important files???

how can I automatically check if important files exist in a directory and if not, automatically put the important files where they are needed say, I want to put .bashrc and a dozen other important files like it into every user's directory, how can I do this??? how do I check every user's... (4 Replies)
Discussion started by: TRUEST
4 Replies

2. Shell Programming and Scripting

find - finding files.

I understand that to find a type of file using command find I could do "find -type f -name \*.htm -print". However, I wish to find all files BUT *.htm. Can I negate the search somehow? Again, I have peeked into the man files etc... If anyone has an answer, Thanks in Advance! (3 Replies)
Discussion started by: gsjf
3 Replies

3. Shell Programming and Scripting

Finding files with names that have a real number greater then difined.

I am trying to find all files in a directory whose name has a real number larger then the number I am looking for. For example: . |-- delta.1.5.sql |-- delta.2.1.sql |-- delta.2.2.sql |-- delta.2.3.sql |-- delta.2.4.sql `-- delta.2.5.sql I know my database is at 2.2 so I want an... (2 Replies)
Discussion started by: harmonwood
2 Replies

4. Shell Programming and Scripting

Finding absolute values greater than a certain value

Hi I am posting here for the first time. I am trying to write a script that reads a data file and tries to determine if any absolute values that are above 0.5 I was thinking it ought to be possible to do this with awk somehow. Are there any suggestions before I start reinventing the wheel? ... (4 Replies)
Discussion started by: jackygrahamez
4 Replies

5. Shell Programming and Scripting

Trying to find files equal to and greater than

Hi Guys and Gals, I'm having some difficulty putting this check into a shell script. I would like to search a particular directory for a number of files. The logic I have is pretty simple: Find file named *.txt that are newer than <this file> and count them If the number of files is equal to... (4 Replies)
Discussion started by: bbbngowc
4 Replies

6. Shell Programming and Scripting

finding multiple files using find command

I am trying to search for 2 files using the find command as below find -name file1.txt -a -name file2.txt It doesn't give a result although the files exist in the folder, however when i try the following find -name file1.txt -o -name file2.txt It does give me the result. ./file2.txt... (4 Replies)
Discussion started by: vivek_damodaran
4 Replies

7. UNIX for Dummies Questions & Answers

How do I find files which are older than 30 days and greater than 1GB

Hi All, I know the separate commands for finding files greater than 30 days and finding files greater than 1GB. How do I combine these two commands? Meaning how do I find files which are > 1GB and older than 30 days? ;) (4 Replies)
Discussion started by: Hangman2
4 Replies

8. Shell Programming and Scripting

Finding older files using find command

Hi All, I want to find files which are older than 15 days. I have written a command as below, find -mtime +15 -print I understand (System date - last modified time of a file) should be greater than or equal to 15 days. This command returns files which are 15 days old.. i.e... (1 Reply)
Discussion started by: nshan
1 Replies

9. Shell Programming and Scripting

Find files greater than a particular date in filename.

I need a unix command which will find all the files greater that a particular date in the file name. say for example I have files like(filenaming cov : filename.YYDDMMSSSS.txt) abc.201206015423.txt abc.201207013456.txt abc.201202011234.txt abc.201201024321.txt efg.201202011234.txt... (11 Replies)
Discussion started by: lijjumathew
11 Replies

10. Shell Programming and Scripting

Please help list/find files greater 1G move to different directory

I have have 6 empty directory below. I would like write bash scipt if any files less "1000000000" bytes then move to "/export/home/mytmp/final" folder first and any files greater than "1000000000" bytes then move to final1, final2, final3, final4, final4, final5 and that depend see how many files,... (6 Replies)
Discussion started by: dotran
6 Replies
MAKEASTHEME(1x) 														   MAKEASTHEME(1x)

NAME
makeastheme, installastheme - manage themes in the Afterstep windows manager. SYNOPSIS
makeastheme [--theme <theme_name>] [--no_wharf] [--no_pager] [--no_winlist] [--no_background] installastheme [--theme <theme_name>] [--no_wharf] [--no_pager] [--no_winlist] [--no_background] DESCRIPTION
This bundle of two Perl scripts is used to implement themes in the AfterStep window manager for X (http://www.afterstep.org). At this time, these scripts are becoming solid beta quality. I would still highly recommend you to backup your configuration files in the ~/.afterstep dir. The easiest way to undo a theme is to simply restore your old files. This theme pack currently supports the following modules and options: Wharf: Pager: BgColor Align Pixmap Back TextureColor BalloonBack TextureType BalloonBorderColor BalloonBorderWidth WinList: BalloonFore Font DesktopImage Fore Font Back Hilight Justify Image Pixmap (AS 1.5b6 pl2) SmallFont Of course, the look file and desktop background is supported. Also, any images specified in the look file or the module options above are also carried with the theme that is built. This theme pack expects to find the ~/.afterstep/desktop/themes directory. Each theme should be a subdirectory from there. When you down- load a theme, untar it in the themes dir. Also, when you build a theme, if you want to bundle any unique icons for use in the database file, put them in the specific subir of the themes dir. Also, the theme pack will only look in ~/.afterstep for module configuration files. That means when building a theme, it only takes modi- fications from that dir. If the config files aren't there, makeastheme will ignore that module. When installing a theme, installastheme will only edit files in ~/.afterstep. If it doesn't find any modules there, it will skip that module. At a minimum, you should have 'wharf', 'pager', and 'winlist' files in the ~/.afterstep dir. OPTIONS
Both installastheme and makeastheme take the same command line, which can be in any order. The directory from which the scripts are called is irrelevant. All directory paths are coded into the scripts and double-checked at runtime. After running installastheme, you will need to manually restart AfterStep for the changes to take place. When making the themes, you simply run makeastheme with the --theme <theme_name> argument and any of the other command line arguments you might want to use. This script will grab all the config files necessary and all images specified within those config files. It then cre- ates the theme in your '~/.afterstep/desktop/themes' --theme this option is used to specify the theme to install. With installastheme it is mandatory. With makeastheme if unspecified, the $USER environmental variable will be used instead. --no_wharf, --no_pager, --no_winlist, --no_background Each of these options tell the scripts to skip processing for each of these modules. For makeastheme it is similar to saying, "I don't have anything interesting in this module, don't store those options in the theme." For installastheme it is similar to say- ing, "I really like my <module>, don't change any settings in there." SEE ALSO
afterstep(1x), Pager(1x), Wharf(1x), WinList(1x), /usr/share/doc/afterstep/README.theme.handler.gz . AUTHORS
These tools were written by Lathi <alcornd@earthlink.net>. This manual page was written by Robert Luberda <robert@debian.org>, based on the README.theme.handler file, for the Debian GNU/Linux system (but may be used by others). BUGS
If you find any, you can email me (mailto:alcornd@earthlink.net) or the AfterStep mailing list (mailto:afterstep@linuxcenter.com). Alter- natively, you can also probably find me on EfNet channel #afterstep as Lathi. Feb 10th, 2008 MAKEASTHEME(1x)
All times are GMT -4. The time now is 08:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy