I'm trying to find the 50 largest file in a directory named /sasdb and its' subdirectories. I'm using the find command and a pipe to awk
Not sure if I'm actually getting the largest files from this directory and its subdirectories. Here is the code I used...
find /sasdb -ls | awk '{print... (8 Replies)
Hi,
1)I have XX directory and have lot of files ,I want to find largest file in that
directory
2)how calculate the size of file in MB.
Thanks,
Mohan (15 Replies)
What is the correct command for finding and displaying the largest file on the system?
I don't know how to specify "largest" with "find", and pipe that to something that will display the file contents. Or should I be using cat, more, less, ls, or something else? (4 Replies)
Hello,
i am on linux 2.6.13-1.1526_FC4smp , and i would be very greatfull
if someone could help to find the largest files on that server.
I know i can find files with find command or list them with ls ,
but is there a way that i could list let's say 10 biggest files on server ?
:o (11 Replies)
What is the best way to find the largest files in a directory? I used du -k|sort -rn |less.
I got a results for this. But if I used the following command , I got another result...a different order in the same directory. Why is that?
ls -la |awk '{print $5," ",$9}' sort -rn|less. I saw that... (6 Replies)
Hi Experts,
1. In unix how to list the largest file in given directory.
The answer will in single line statement.
2. I have Sun solaris live CD .I try to compile sample c program using "CC compiler".But its shows "cc command not found".
Please help on this.
Thanks in advance.... (4 Replies)
hi all,
suppose a key string: M0271857
and to find all lines containing this key string in a text file
which returns multiple lines
but i only want the shortest one
is there a way to do that?
thanks so much! (4 Replies)
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies
LEARN ABOUT DEBIAN
lastfmsubmitd
lastfm(1) General Commands Manual lastfm(1)NAME
lastfmsubmitd, lastfmsubmit - Last.fm submission daemon and helper
SYNOPSIS
lastfmsubmitd [--debug] [--no-daemon] [--no-network] [--help]
lastfmsubmit [--encoding ENC] [--artist ARTIST] [--title TITLE] [--length LEN] [--time STAMP] [--album ALBUM] [--mbid TRACKID] [--stdout]
[--debug] [--quiet] [--help]
DESCRIPTION
lastfmsubmitd uses the Last.fm protocol to send information about played songs to a submission server. If network connectivity is lost or
lastfmsubmitd is shut down, any unsubmitted songs will be saved to disk.
Song information is collected from one or more music players via a spool directory. All songs are submitted with the account information
provided in the configuration file.
lastfmsubmit is a helper program meant to be invoked by music players. It handles setting the timestamp, encoding data as UTF-8, serializ-
ing it to send to lastfmsubmitd, and locking.
OPTIONS -d, --debug
Log debugging information.
-n, --no-daemon
Do not fork into the background.
-n, --no-network
Do not attempt to connect to a server, but process submissions anyway.
-e, --encoding
Use a different encoding than the locale's default to read song information.
-q, --quiet
Silence any logging information that would normally be printed to stderr.
-a, --artist
Specify the song's artist name. Artist, title, and length are required for lastfmsubmitd to actually submit the song.
-t, --title
Specify the song's title.
-l, --length
Specify the song's length.
-i, --time
Specify the time at which the song was played, formatted in UTC as '%Y-%m-%d %H:%M:%S' (see strptime(3)). If not given, defaults to
the current time.
-b, --album
Specify the song's album name.
-m, --mbid
Specify the song's MusicBrainz track ID.
-o, --stdout
Write the serialized song information to standard output instead of the spool.
FILES
/var/spool/lastfm
The directory where music players should write song information to be submitted by lastfmsubmitd.
/etc/lastfmsubmitd.conf
The configuration file.
AUTHOR
Decklin Foster <decklin@red-bean.com>.
lastfm(1)