General :: Finding Total Size Of All Files Whose Names Starting With A?

Jul 22, 2011

how to find total size of all files whose names starting with a

OS: SunOS

du -h a* is giving individual file sizes.

View 6 Replies


ADVERTISEMENT

General :: Finding All Files Starting With A .

Nov 29, 2010

To find all files recursively starting with a . (period), is the following OK:

find ./ -name '.'*

View 7 Replies View Related

Software :: Obtain The Total Size Occupied By Files Of Certain Type?

Aug 3, 2010

I'm trying to determine the total disk space used by some files with certain type.I'm trying this with find, but maybe there's another solution?The fact is that I don't know what should I give to the pipe next to find (or whatever command) so that I can determine the total disk space used by that files.

View 2 Replies View Related

General :: Finding Commands Starting With A Given Letter Like For Example 's'?

May 24, 2010

find commands starting with a given letter like for example 's'?

View 6 Replies View Related

General :: Finding Folder Size Using Command

Oct 26, 2009

I want to know is there a command to find size of a folder.

View 4 Replies View Related

Ubuntu :: Remove Old Backups Based On Total Size, Not Just Backup Age?

May 24, 2010

I'm looking for a standalone backup manager with the following properties:

1) Easy scheduling.

2) Automatic encryption of backups

3) Ability to remove old backups based on total size, not just backup age. (to avoid overfilling backup media)

4) Since this is going onto a business-critical machine used by a techno-peasant, it needs to have a snazzy, graphical interface for easy monitoring and configuration.

I am sure I *could* write this myself, but I find it hard to believe that there isn't one out there already, and I am lazy. Unfortunately, there are also a very large number of backup programs out there with less than complete descriptions and I am getting tired of installing each in turn to see what it does.Has anyone stumbled across something like what I just described?

View 2 Replies View Related

General :: Count Total Number Of Lines Of Found Files?

Mar 20, 2011

I'm running a find. -name pattern to find some files, and I'd like to elegantly get the total number of lines in these files. How can I achieve that?

View 4 Replies View Related

General :: Recover Deleled Files On Server Using Total Commander?

May 6, 2011

I used Total Commander and connected FTP to write website. Today I accidently deleted some files. How to recover them?Recover using Total Commander or log in Putty? If using Putty, what commands are used to recover?

View 1 Replies View Related

Debian Programming :: How To Find Total Size Of A List Object In Byte

Jan 11, 2013

Assuming there are two list objects a1, a2.

a1 = ['
']
a2 =['hi
']

len() built-in function gives total number of elements in the list object.
len(a1) gives 1. len(a2) gives 1 also.

Code: Select all$ python
Python 2.7.3 (default, SepĀ  9 2012, 17:41:34)
[GCC 4.7.1] on linux2

[Code]......

I thought there exists a built-in function that gives total size of a list object in byte. So using the function produces 1 for a1, 3 for a2. I haven't found such function or module yet.

View 3 Replies View Related

General :: Finding (HTML) File Size To Display In Summary

Dec 7, 2009

Need to find the size of a file (html), and display it in a summary file. (Have tried du, ls, size, but none of these work).

View 6 Replies View Related

General :: Write Shell Script Which Can Take Number Of Files And Count Total Rows From All CSVs?

Oct 8, 2010

I need to write shell script which can take number of files and count total rows from all CSVs and display total number of rows counted in all files. Is there any possibility of doing that using shell script and if yes then how.

View 4 Replies View Related

Ubuntu :: Finding Names Of Programs To Use In Terminal?

Oct 30, 2010

I would like to know how to find out the name of programs so that I could launch them in Terminal. For example, to launch gimp, I just type

Code:gimp and it launches. Well how do I find out other names to other programs?

View 2 Replies View Related

Debian Hardware :: Finding Plugin Names Of The Ethernet Cable?

Mar 2, 2010

if i would know the terms i could search for it, so bare with my words: i got an old PC, and my ethernet-cables don't fit into its plug (port?). its a little smaller than the usual one. how is it called and what am i looking for (whats the name of the plugs which need to fit, whats the measure. all i could see is male/male and some voodoo stuff like RJ333 <-wrong.

View 6 Replies View Related

Ubuntu Multimedia :: Finding A Sound Recorder Like The Total Recorder For Windows?

Jul 29, 2011

Is there a Sound Recorder like the Total Recorder for Windows? Someone told me to use Audacity, but Audacity recorded the mic input (e.g. the net radio sound through the speakers together with the noise of the room). Maybe I just cannot find the right settings.

View 7 Replies View Related

General :: Showing Section In Files That Have Different Names?

Mar 3, 2010

I am running a bash script and I would like a command that will show me what differs from some files with similar names so I can delete them. Or if you can provide some info on how to complete my script. Here is my code:

#!/bin/bash
pwd=SOURCE
#Add extension into the name

[code]...

View 1 Replies View Related

General :: Comparing Two Files - Display The User Names That Are In The First File And Not The Second

Sep 17, 2009

Im trying to compare two files and I only want to display the user names that are in the first file and not the second.

So I have one file named final.txt (which contains every user name and only the user names in a list no other information)

Then I have another file Over1.txt (which only contains certain users that have different permissions This file is also setup differently with the user name and some information about the user after the user name.

I need a way to compare final.txt to over1.txt so that I will only display the names that are in final.txt but not Over1.txt

Ive tried using diff and comm but just cant seem to get it two work correctly. Im not sure if im missing a option or what.

View 5 Replies View Related

General :: Copy The Contents Of A Txt File To Other Txt Files (with Similar Names) By Cp Command?

Jul 2, 2010

Code:
cp -r aa123.h aa*.h
results in
Code:
cp: target `aa456.h' is not a directory

Yes I read man page cp (1p). There is something written there about it, I couldn't understand though.

View 7 Replies View Related

General :: Write A Short Script That Tells Whether The Permissions For Two Files Whose Names?

Apr 4, 2011

Write a short script that tells you whether the permissions for two files, whose names are given as arguments to the script, are identical. If the permissions for the two files are identical, output the common permission field. Otherwise, output each filename followed by its permission field

View 5 Replies View Related

Ubuntu :: Files In /var/log Which Total 398 GB

Oct 31, 2010

What could be the cause of this?

Code:

I've deleted all the syslogs now, since it prevents me from using the system properly, and it seemed to keep expanding every time I freed space.

After deleting syslog entries:

Code:

Daemon.log seems to suggest it's an NTFS issue, as it's filled with copies of this entry(with different dates and times).

Code:

View 2 Replies View Related

General :: Recursively Rename Files/folders To Make Their Names Windows-friendly?

Jan 29, 2011

I have a bunch of files on a Ubuntu box, which have various characters in their filenames that Windows doesn't accept (mostly ":" and "*", but possibly others).What's the simplest way to get these all renamed and moved to a Windows machine? It's OK to replace these characters with something like "[colon]" and "[asterisk]".

View 1 Replies View Related

General :: Finding Files To Backup?

Mar 12, 2011

I have a situation where a directory has about 1.5 million files in it. On an hourly basis, I want to be able to find any files that have changed in the last hour, compress them, encrypt them and then copy them to both a local backup machine and an off site backup.

Is there any kind of utility or kernel module that creates some type of log of modified files? I know I can use find, but the search for -mtime in this directory takes quite a while and will not suffice for an hourly backup.

View 3 Replies View Related

General :: Finding Files Exactly 7 Days Old?

Apr 19, 2010

i am a newbie in linux ,i am writing a bash script to identify the files which are exactly 7 days ( a week old) i tried this command find /var/backup -mtime +7 -exec ls -d {} ;but this gives me even the files which are older than 7 days

[root@proxy access]# find . -mtime +7 -exec ls -d {} ;
./access.log.1.gz
./access.log.2.gz

[code]...

View 3 Replies View Related

General :: Finding Words In Files?

Apr 23, 2010

I am looking for this `struct messages_sdd_t` and I need to search through a lot of *.c files to find it.However, I can't seen to find a match as I want to exclude all the words 'struct' and 'messages_sdd_t'. As I want to search on this only 'struct messages_sdd_t' The reason for this is, as struct is used many times and I keep getting pages or search results.The directory I am searching in, has another directories so it will have to search recursively.I have been doing this without success:Code: find . -type f -name '*.c' | xargs grep 'struct messages_sdd_t'and thisCode: find . -type f -name '*.c' | xargs egrep -w 'struct|messages_sdd_t'

View 3 Replies View Related

Ubuntu :: Finding A Command To Prevent Ristretto Of Starting With The System?

Jan 4, 2011

Ristretto is starting with my Xubuntu... My pc has only 125MB of RAM... Is there a command to prevent ristretto of starting with the system? Are there any other ways to let my xubuntu faster?

View 3 Replies View Related

General :: Finding A Script To Copy Files?

Nov 27, 2010

give me a script for copying all the files in a directory that are not directories to another directory. May be this could work:

Code:

FILE=(ls -l|grep ^-)
for i in $FILE
do
cp $i /destination/path/$FILE
done

View 14 Replies View Related

General :: Finding Files That Relates To Certain Applications

Jan 28, 2010

I'm wondering if you can share some tips in regards to finding .conf files in programs when installing using package managers. I'm scratching my head on the fact that when you install a program through yum/apt-get, I don't know what and where the software is being installed at. In Windows, I know that when it installs an application, it goes into the Program Files directory, it's that simple.I know Linux has predefined directories for applications but sometimes it installs configuration files in /etc or some other locations in /usr which I have a tough time sifting through.

Is there a way to trace what .conf or any files for that matter which relates to what software that needs it? It's just hard for me to understand what file relates to what application at the moment. As much as I would like to learn more about Linux, this process for me takes up alot of time. I hope you can help me out on this one.

View 1 Replies View Related

General :: Finding Files Under The Current Directory?

Oct 5, 2010

Assumed y directory structure looks as follow:

Code:

--root
-- dir1
-- dir1-1
-- dir2
-- dir2-1
-- dir2-2

And under each sub dir there are some log files ended with .log. Now I want to list all these log files. How to to that?

View 2 Replies View Related

General :: Using Du To See Files Of A Particular Size Only?

Jan 23, 2011

I am having a few situations to which I do not see any thing in du man pages.Quote:1) I want to see files in a sub directory which are larger than a particular size only.2) I use du -sh > du_output.txt I see the output as described for option -s and -h how ever what I am more interested is if the output comes in a format which is say for example

Code:
dir0--->dir1-->dir3-->dir4
| |

[code]....

View 3 Replies View Related

Ubuntu :: Total Filesize Of All Files Found With The Find Command?

Dec 21, 2010

i'd like to know the total filesize of all files found with the find command, so

Code:
find -iname '*.mpg' | xargs -I {} du -sh {}
but this gives me the filesize of each file, since each line is passed to "du".

how can I pass the whole list through the pipe?

View 6 Replies View Related

General :: Finding Files Based On Date Without Using `find`?

Aug 11, 2011

I know find can do what I am looking for, but I am wondering if there is an alternative way to find files on the filesystem either created before/after a certain point, or at a certain time.

Typically I rely on updatedb & locate for most of my file searching needs. Issues with those tools, though, are that it only has directory and file names, and it only creates a database of local directories, not anything mounted via CIFS|NFS or via -o loop (eg, .iso images).

So if I need to find files created after yesterday across the entire system (local and remote filesystems), I am currently needing to use find.

What other tools, if any, would accomplish this in a similar fashion?

I have tried ls and grep, but that requires (in my attempts so far) multiple searches:

ls -lR | grep Aug | grep 10
ls -lR | grep Aug | grep 11

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved