06-07-2006
Command to list large files
Looking for a line to show all of the large files on a unix server (over 300mb)...
Having problems finding anything that works...
TIA!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Guys,
can anybody help me in the following........
I have different types(c files,ordinary text files etc) in a directory.
is there any way to list other than .c files using the 'ls' command only.
i tried with the following.
ls *.*.
its not listing the .c files,but at the same time not... (3 Replies)
Discussion started by: venkat
3 Replies
2. UNIX for Dummies Questions & Answers
Hi
Is there a command(s) which can be used to get a list of all files, including all files in all subdirectories on a given volume?
Thanks :)
All My Best,
Jeffrey (6 Replies)
Discussion started by: groundlevel
6 Replies
3. UNIX for Dummies Questions & Answers
Hi
I need to list all files in the system:
1. Greater than specific size
2. All files sorted by size
How can I do that?
Thanks in advance. (2 Replies)
Discussion started by: GNMIKE
2 Replies
4. UNIX for Dummies Questions & Answers
hey. i am a bit new to unix and i am trying to figure out how to list the names of the 'dot' files that are in my account.
what command does this?
thank you very much for your help. (4 Replies)
Discussion started by: Jakeman1086
4 Replies
5. Shell Programming and Scripting
I tried to make the title/subject detailed, but well.. have to keep it short as well.
I am wanting to take a large list of strings, and search through a large list of files to hopefully find numerous matches. I am not sure the quickest way to do this though.
// List of files
file1.txt... (2 Replies)
Discussion started by: Rhije
2 Replies
6. Shell Programming and Scripting
Hi All,
I have some 80,000 files in a directory which I need to rename. Below is the command which I am currently running and it seems, it is taking fore ever to run this command. This command seems too slow. Is there any way to speed up the command. I have have GNU Parallel installed on my... (6 Replies)
Discussion started by: shoaibjameel123
6 Replies
7. Shell Programming and Scripting
Hi All,
Below is the 2 different ouputs of the command "ls -lrt", my question is what exactly "total 0" & "total 8" means here ?
$ ls -rtl
total 0
-rw-r--r-- 1 oracle dba 0 Feb 10 20:16 c
-rw-r--r-- 1 oracle dba 0 Feb 10 20:16 b
-rw-r--r-- 1... (1 Reply)
Discussion started by: kannan84
1 Replies
8. Shell Programming and Scripting
Hi All,
I need help to know the exact command when I grep large list of files. Either using ls or find command. However I do not want to find in the subdirectories as the number of subdirectories are not fixed. How do I achieve that.
I want something like this:
find ./ -name "MYFILE*.txt"... (2 Replies)
Discussion started by: angshuman
2 Replies
9. Shell Programming and Scripting
HI,
I have requirement to fetch the list of files except the ok file by connecting to other server and then copy all the files that are fetched using the below command.
ssh ${aSrcHOST} ls ${aSrcDIR}/grep -vi OK$ > filelist.txt
The above code is also picking up any directory names and... (7 Replies)
Discussion started by: Nikhath
7 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I would like to combine below 2 commands (list, egrep) them into a single command and list only the required files using AWK or anything else. Could you please help.
ls *FA_GL_10K_TND_HIER*dat | egrep "UPD|INS|DEL"... (3 Replies)
Discussion started by: Ariean
3 Replies
LEARN ABOUT CENTOS
vacuumlo
VACUUMLO(1) PostgreSQL 9.2.7 Documentation VACUUMLO(1)
NAME
vacuumlo - remove orphaned large objects from a PostgreSQL database
SYNOPSIS
vacuumlo [option...] dbname...
DESCRIPTION
vacuumlo is a simple utility program that will remove any "orphaned" large objects from a PostgreSQL database. An orphaned large object
(LO) is considered to be any LO whose OID does not appear in any oid or lo data column of the database.
If you use this, you may also be interested in the lo_manage trigger in the lo module. lo_manage is useful to try to avoid creating
orphaned LOs in the first place.
All databases named on the command line are processed.
OPTIONS
vacuumlo accepts the following command-line arguments:
-l limit
Remove no more than limit large objects per transaction (default 1000). Since the server acquires a lock per LO removed, removing too
many LOs in one transaction risks exceeding max_locks_per_transaction. Set the limit to zero if you want all removals done in a single
transaction.
-n
Don't remove anything, just show what would be done.
-v
Write a lot of progress messages.
-V, --version
Print the vacuumlo version and exit.
-?, --help
Show help about vacuumlo command line arguments, and exit.
vacuumlo also accepts the following command-line arguments for connection parameters:
-h hostname
Database server's host.
-p port
Database server's port.
-U username
User name to connect as.
-w, --no-password
Never issue a password prompt. If the server requires password authentication and a password is not available by other means such as a
.pgpass file, the connection attempt will fail. This option can be useful in batch jobs and scripts where no user is present to enter a
password.
-W
Force vacuumlo to prompt for a password before connecting to a database.
This option is never essential, since vacuumlo will automatically prompt for a password if the server demands password authentication.
However, vacuumlo will waste a connection attempt finding out that the server wants a password. In some cases it is worth typing -W to
avoid the extra connection attempt.
NOTES
vacuumlo works by the following method: First, vacuumlo builds a temporary table which contains all of the OIDs of the large objects in the
selected database. It then scans through all columns in the database that are of type oid or lo, and removes matching entries from the
temporary table. (Note: Only types with these names are considered; in particular, domains over them are not considered.) The remaining
entries in the temporary table identify orphaned LOs. These are removed.
AUTHOR
Peter Mount <peter@retep.org.uk>
PostgreSQL 9.2.7 2014-02-17 VACUUMLO(1)