General :: Filesystem Full - Find The Biggest Directories Or Biggest File?

Apr 28, 2011

Under Linux, I'm looking for a command to list the biggest file and/or the biggest directories under a directory.

View 3 Replies


ADVERTISEMENT

General :: Low On Disk Space - Looking For Biggest Files?

Nov 10, 2010

I seem to be running low on disk space on my linux server. 'df' shows about 82% usage on a stock CentOS install with sendmail. I routinely delete old email directories, but for some reason, I stay pretty high in disk usage. Is there a fancy little bash script or something I could run that would find the biggest files and I could go get rid of them?

View 3 Replies View Related

Ubuntu :: URL Bar/Location Bar - Apparently Chooses The Biggest Width

Feb 28, 2010

I merged my toolbars into one toolbar. This results in having my bookmarks toolbar next to my URL bar.

The problems is that the URL bar apparently chooses the biggest width available with priority over the bookmarks bar, being merged into simply an arrow, which I have to click in order to see my bookmarks.

I would like to give my URL bar a fixed width so that I can see my bookmarks toolbar or to leave the URL bar with a flexible width as long as it doesnt have priority over the bookmarks bar.

View 1 Replies View Related

Programming :: Print Biggest Float And Double Exponential Notation In Java

Nov 4, 2010

How can i print the biggest float and biggest double exponential notation in Java ?

View 1 Replies View Related

General :: Find A File In Directories Without Using Find Command?

Aug 3, 2010

am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.

View 14 Replies View Related

General :: Shell Command To Find Newest File In Filesystem?

Apr 13, 2010

I'm relatively experienced with UNIX and Linux, but this has me thrown for quite a loop, and it seemed like such a simple question. How would I go about finding the newest file in a file system? I thought something like:

Code:

ls -ltr `find /usr -type f`

would work, but I seem to be exceeding the argument maximum for ls:

ksh: 0403-029 There is not enough memory available now

I thought something involving xargs might work, but I really suck with that command.

View 3 Replies View Related

Ubuntu :: Root Filesystem Full After Performing Cut & Paste In Webmin File Manager

Oct 20, 2010

I am running Ubuntu Linux 10.04.1 on an AMD 64-bit system. The server is primarily used for Windows file sharing via Samba in a small local network. I use webmin and putty to administer the system. I have two 1.4 TB drives for storage and one 500 GB drive with 18 GB mounted for root.I performed a large cut & paste operation (25.8 GB of files) using the File Manager in Webmin to move a certain folder into another folder within /media/Work. The operation failed and I am now getting a "root filesystem full" error, and am stumped.

View 8 Replies View Related

Programming :: How To Find Directories That Do Not Have A Certain File

May 28, 2010

I'm having problems figuring out the process to find directories that DO NOT contain a certain file. I have a mp3 collection that all the album art is name "folder.jpg". Not all the albums have images. I need a way to find the albums/directories that do not contain "folder.jpg". I can find the ones that do contain "folder.jpg" with

Code:
find . -iname 'folder.jpg' -print0 | xargs -0 ls >> album_art

but that is as far as my bash-fu can take me. I'm not really sure what my next step is.

My directory structure is like such: a-z/artist/album/folder.jpg

View 5 Replies View Related

General :: Excluding Directories With Find?

Jun 10, 2011

I am trying to exclude 2 directories with find and pass it into cpio. I have tried

Code:
find . -depth -path '.evolution' -prune -o -path '.gconf' -prune -o -print|cpio -aov > /media/caca/full$date
./.gconf/apps/evolution/memos/%gconf.xml
./.gconf/apps/evolution/memos

[Code]....

View 4 Replies View Related

General :: How To Exclude Multiple Directories In Awk With Find?

May 20, 2010

I found a script on webmaster world that mostly does what I need it to, but have been making modifications to tailor it to my specific needs.I know that //..*/ tells awk to ignore hidden directories, how do I define more directories to ignore? (i.e. temp, var, etc)? I've tried playing with prune before the awk command with limited success...I know that there are many ways to do the same thing and keep running into brick walls.

View 11 Replies View Related

General :: Scripting To Find Difference Between 2 Directories

Dec 17, 2010

Write a script to list all the differences between two directories.

View 1 Replies View Related

General :: How To Use Find To Copy All Found Files To A New Name In Their Same Directories

Feb 23, 2010

I've got a simple command that does almost what I want.

The following will locate all files with a suffix of '_compressed.swf' and copy each into its same directory with a '.bak2' appended:

However, I need to replace '_compressed.swf' with '_content.swf' I'd like to use find, rather than recursive flag on cp for consistency.

Objective
In: /content/somefile_compressed.swf
Out: /content/somefile_content.swf

View 3 Replies View Related

General :: Script To Find New Files And Copy Them Into Different Directories?

Oct 29, 2010

I have a question which has been in part answered many times but nothing I found relateds completely to my situation. I am sure there will be people who will say RTFM but believe me I did, and searched as well but to no avail. I have a situation where I want to copy files created withing last hour in one directory into another one. The problem is that that the directories are on different levels in the dir tree so the absolute path is different. But I want to keep the relative path the same.

I want to copy new files from /mnt/path_to_webdav/user to /home/user. so if there is new file /mnt/path_to_webdav/user/doc/xy.txt I want it to be copied to /home/user/doc/xy.txt. Also if there is a new dir, say /mnt/path_to_webdav/user/newdir I want a new dir to be created in /home/user/newdir with all the files in it, should there be any. I can do find with exec and copy all the files into one directory.This is not what I want though. How do I preserve the relative path and get the files copied into their corresponding directories?

View 1 Replies View Related

General :: Command To Find A Specific Word In Directories And Subdirectories?

Jun 7, 2010

tell me the command used to find a specific word in directories and sub-directories in linux?

View 4 Replies View Related

Applications :: Best Distributed Filesystem For Home Directories?

Oct 19, 2010

I'm looking for the best distributed filesystem to share my home directory among all my computers, and I'm interested in what advice I could get here.

Here are my requirements:
1) It must be completely POSIX compliant, because I've noticed that many programs will break if not.
1a) Must support file locking (i.e. flock()) preferably sharing lock advisories between the clients
1b) Must support hard links, and be able to recognize a hard link connection by looking at the number of references
2) It must have encryption, and security suitable for it to be exposed to the internet.
2a) I would like to use password-less authentication. Preferably SSL client certs (HTTPS style). Static keys (SSH style) are also fine. I would begrudgingly accept a password authenticated system if it used a fairly secure challenge/response algorithm if it met all of my other requirements. (Extra points if it supports PKCS#11 and thus supports smart cards)
2b) Encrypted traffic must be an option.
2c) No thanks to kerberos. It was too annoying to maintain when I tried it before and I don't like passwords.
3) Preferably, it should be stable and fairly easy to maintain.
4) Optionally, it should be tolerant of network drops, and reconnect automatically as needed, because my laptop wireless is a little flaky sometimes.

View 4 Replies View Related

Slackware :: Upgraded To 13.1 - Temporary Directories Full

May 26, 2010

I've upgraded to 13.1 from 13.0 but can't startx. I get this error;
'call to lnusertemp failed (temporary directories full?)'

When I ctl-alt-backspace there are numerous messages including these two;
'/usr/bin/kde4-config: symbol lookup error:/user/lib/libkdecore.so.5:
undefined symbol: _zn9qlistdatadetach3ev.
and
startkde: error: could not locate lnusertemp in /usr/bin/startkde: line
302::command not found.

Linux 13.0 worked OK right out of the "box" so I don't understand why this version has this problem. Was something changed from 13.0 to 13.1?

View 6 Replies View Related

General :: Make All Files Non-executable Recursively Using Find Without Affecting Directories?

Sep 26, 2010

I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process

find /dir/ -type f -exec chmod ugo-x {} ;
find /dir/ -type d -exec chmod ugo+rx {} ;

Is it possible to modify the first line so that I can strip exec flag from all non-directory files? Since this needs to be done on a fairly regular basis across a lot of directories and files, I'd prefer not to use a bash script which would slow it down.

View 1 Replies View Related

General :: Back Up Scrip - Find / Cp / Md5sum / Rm - Move All Files And Directories

Oct 22, 2010

I want to move all files and directories that are 1 month old out to back up into a separate folder. There will be a lot of files and I want to make sure it copies properly. The problem I'm having is integrating a MD5SUM into it to check integrity. MD5SUM is not recursive, so I figured it would work in a loop when it copies each individual file, I'll do a md5sum on each file and delete that md5 once its verified it copied ok.

[Code]...

I also need some sort of error handling to output all md5's that didnt pass the hash check.

View 3 Replies View Related

Slackware :: Call To Lnusertemp Failed (temp Directories Full)?

Aug 4, 2010

I had a fresh install of Slackware 13.1 up and running. I was looking to use an app which could only run on a gnome distro. So I installed gnomeslackbuild. Ran into dependency hell so I gave up the ghost and decided to reinstall.Re-install resulted in a message "Call to lnusertemp failed(temporary directories full).Had this before a different machine and sorted with another install at the time.Tried this but it keeps coming up with the same message. (4 installs later).Quote:

xset: bad font path element (#23) possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir

[code]....

View 4 Replies View Related

General :: Find The Valid Values For The Sys Pseudo-filesystem Interface?

May 11, 2011

Specifically, I'd love to know what the valid values of:

And, where I can find this information? I've always wondered if it was documented somewhere, or if there was an interface into the kernel to query for it.

View 1 Replies View Related

General :: Tune2fs Says Couldn't Find Valid Filesystem Superblock

May 12, 2010

I'm logged into a server through the CLI and did a df -T and confirmed all my volumes are ext3. but when I do a tune2fs -l /dev/sde it tells me

tune2fs 1.39 (29-May-2006)
tune2fs: Permission denied while trying to open /dev/sde
Couldn't find valid filesystem superblock.

I don't have root access on the server, but is that why it's complaining, or is my syntax incorrect?

View 8 Replies View Related

Fedora :: Filesystem Root 100 Percent Full

Jun 25, 2010

I'm new to fedora 13 and I have been through a few installs already with a 12TB raid. Fedora is installed on a separate 250GB drive. I've mounted the 12TB drive as a single share and I'm capturing large video files (12-90GB each) to the raid in a Samba Share across the network. The system runs great for about three days and then I start getting warning messages that "the volume filesystem root has only 1.9GB of disk space remaining" then another later 205MB etc until it eventually fills to 100% and then locks the machine. If I reboot I get a Gnome error and can't login. The only solution has been to reinstall fedora again from scratch.

Each time I allocate more space for root. My current partition is 65G in size. The raid shows only 5.1TB of space used and it shows 7.2TB of free space. The raid share shows as being mounted in /media. Root shows that it will be full at 5.2TB, and I'm almost there, so I'm probably looking at another install in just a short while when it freezes again. I've read reinstall and make a larger root partition, but I'm not sure how big that must be to avoid this problem in the future. Also, is there a limitation on the size that root can be? my question stems from the fact that I have over 7TB of free space but somehow the root is reporting as 100% full at only to 5.1TB.

View 11 Replies View Related

Ubuntu :: 500GB HD 80% Full With The Filesystem Containing Only 86GB?

Apr 9, 2011

I did a backup and the files I got had a lock on them so i changed the permissions and deleted them somehow. Now I look at the harddrive and it says I only have 90GB left when I should have like 400. Whatsup with this???

View 1 Replies View Related

OpenSUSE Install :: Call To Lnusertemp Faild (temporary Directories Full?)

Feb 5, 2009

opensuse 11.1 64 bit NVIDIA 180.22
yesterday i update my kde from 4.13 to 4.2.
Before i install kde 4.2 ,i disable all repo about 4.13

and remove kde 4.13 .using one-click installer,i install kde 4.2 successfully.but i can not login my account in kde session .it says

"call to lnusertemp faild (temporary directories full?)..."
use command
df /tmp
df -i /tmp
df /var/tmp
df -i /var/tmp

i found my disk have enough space,about 70% free space.i try to lonin use root account .it failed too ,with same error.any one know what is the matter about my kde 4.2?

View 9 Replies View Related

OpenSUSE Install :: Call To Lnusertemp Failed - Temporary Directories Full?

Sep 22, 2010

opensuse 11.1 64 bit NVIDIA 180.22 yesterday i update my kde from 4.13 to 4.2. Before i install kde 4.2 ,i disable all repo about 4.13 and remove kde 4.13 .using one-click installer,i install kde 4.2 successfully.but i can not login my account in kde session. it says "call to lnusertemp faild (temporary directories full?)..."

use command
df /tmp
df -i /tmp
df /var/tmp
df -i /var/tmp

i found my disk have enough space,about 70% free space. i try to lonin use root account .it failed too ,with same error. any one know what is the matter about my kde 4.2?

View 5 Replies View Related

Ubuntu Security :: Whoops - Given The Entire Filesystem Full Permissions?

Feb 14, 2011

As the title says, I've just given ubuntu full filesystem permissions. I used the following command thinking it would change the permissions of the folder I was in.

sudo chmod -R 0777 Is there anyway of reverting the permissions without doing a full reinstall?

However saying that, i'm doing a full reinstall just incase.

View 6 Replies View Related

General :: List Of Directories In A File?

Apr 3, 2011

I have generated a list of directories that I would like to use ls and grep on, but it is not working. I am using the commandCode:cat directories.dat | xargs lsand I get a whole lot of these errors:Code:ls: cannot access ./foo/bar/baz/grault/*: No such file or directorybut when I try the directories manually one at a time I find that they all exist and all have files in them. Same thing if I try to grep anything. What is going wrong?

View 6 Replies View Related

General :: Copying 1 File To Many Directories?

Jul 25, 2010

The current directory contains:A file called "original.txt" Many directories called "source_001", "source_002", "source_003" ... From the command line how do you copy "original.txt" to "source_001" and "source_002" and "source_003" ...

The total number of these source directories is unknown, it changes every week.

View 4 Replies View Related

General :: Extract Tar.gz File In Other Directories?

Jun 15, 2010

I stay in /var/www/upload and I want extract a file with tar command.

The output of tar xfvz /var/www/file.tar.gz is

Quote:

tar: /var/www/esempio.tar.bz2: funzione "open" non riuscita: Nessun file o directory
tar: Errore irrimediabile: uscita immediata
tar: Child returned status 2
tar: Uscita con stato di fallimento in base agli errori precedenti

View 4 Replies View Related

General :: Tar Multiple Directories Into One File?

May 15, 2011

I have found ways to tar a directory and exclude certain directories but is there a way to simply tar multiple directories (they are in the same directory) in to one .tgz file?

View 8 Replies View Related







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