General :: Directories Exceeding A Certain Size?

Feb 26, 2010

I misread this question and thought it was asking something I've needed for a long time. My question is slightly different: how to find directories whose contents exceed a certain size. Is there any *nix way to do this?

View 3 Replies


ADVERTISEMENT

Ubuntu :: 10.10 (64bit) System Temp Exceeding Acceptable Limits

Apr 9, 2011

I recently installed Ubuntu 10.10 (64bit) on my laptop (Toshiba satellite L300 64bit) and have since had horrible issues with the machine overheating. When the system is idle, the temp is decent, a bit warm maybe. If I start browsing the Internet, temp goes way up. I cant watch more than 1 and a half minutes of a ..... video without the system's temp exceeding acceptable limits, and shutting itself down. I have tried both the 32 bit and 64bit versions of ubuntu 10.10, as well as a 64bit version of 10.4. same overheating issues with all of these.

I am 99.999999 percent sure that it is an issue with my laptop's cooling fan, as although it appears to be spinning, it is so quiet that I would think it was off completely if I were to not tilt the laptop back and check to see if it is spinning. Also, the speed of the fan does not change, regardless of the machines temp. Even before it shuts off because of extremely high temps, the fan is still running at that same speed. I am currently downloading fedora 14, a different linux distro, to see if there is any difference.

View 9 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.

for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files

like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!

View 7 Replies View Related

Red Hat / Fedora :: Restrict Users To Their Home Directories And Allow Admins To Have Different Home Directories?

Jan 20, 2010

Is it possible to restrict users to their home directories and allow admins to have different home directories? Essentially I want users to have a folder in /var/www/html/$USER and admins to have either unrestricted access or have their root directory be ./ or /www or /etc. I have is set now so users have access to thier home direcotry but I need to upload web files as admin.

So far I have created:
chroot_list
user_list

[code]....

View 1 Replies View Related

General :: Way To Cp Directories Using Smbclient

Nov 25, 2009

Is there a way to cp directories using smbclient ?

View 3 Replies View Related

General :: How To Exclude Sub Directories From ZIP CLI

Jul 22, 2010

I'm trying to create backup/archive my Ubuntu 10.04 system files (so I can restore it in case my system get corrupted). More specifically, I'm trying to zip the important files in my root directory not including my home directory (which includes my documents which I backup separately/more frequently) to an external hard drive attached via USB (called 'My Book').Since File Roller didn't give me quite the level of control I was looking for, I created a script that I could execute to backup and archive regularly.

View 1 Replies View Related

General :: Delete All Except Three Specified Directories?

Jul 29, 2010

How would I delete everything in a directory except for three specified directories?

So far I discovered I can omit the directories like so in a find search code...

View 6 Replies View Related

Hardware :: Partition Size Detected By Testdisk Bigger Than Disk Size

Mar 17, 2011

a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.

I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?

View 2 Replies View Related

Software :: Xsane Reduces Size Of Image Of Scanned Page - How To Get Back To Full Size?

Nov 12, 2010

Ubuntu 10.04, xsane 0.996, Brother MFC 240c scanner.I just finished writing a long dissertation on my problem with this scanning environment (which I will spare you). In a nutshell the resulting image, when printed, is smaller than the original document. In writing my dissertation for this post I determined that the cause of the issue is that xsane believes I am scanning an 8.5 x 14 inch document when I am in fact scanning an 8.5 x 11 letter. So the question is... can I change the size to 8.5 x 11? and if so, how? I have not found anything in the xsane Preferences.

View 7 Replies View Related

Debian Multimedia :: How To Change Icons Size And Gaps Size

Oct 22, 2015

today I upgraded via official testing repository Gnome to version 3.18. After this, icons on desktop and nautilus are bigger, than before. Next thing, gaps between icons are smaller than before. I tried change theme to default (Adwaita), then run gtk-update-icon-cache, but without result.

Normal view - icons are big for this view. URL....

Small view - icons are still big for this view. URL...

How can I change icons size and gaps size? Or is it bug for this version?

View 2 Replies View Related

Fedora :: Re-size Logical Volume And Then Re-size File System?

Jan 19, 2011

is lvresize with --resizefs options re-size the Logical Volume and then re-size the file system? i mean we don't need to use resize2fs?I looked at man pages but it doesn't explain this option.

View 3 Replies View Related

OpenSUSE Hardware :: Document Size Incorrect - How To Get Correct Size

Jun 8, 2011

Have just installed Lexmark s605 printer on wireless network, printer works ok but when i print a document even though it is showing the correct size on 'print preview', the printed output is on the page is tiny and and 90deg rotated, I've tried various drivers from the Lexmark website, and also messing about in printer settings but nothing seems to make any difference.

View 3 Replies View Related

Red Hat / Fedora :: Inode Table Size And File System Size

Dec 14, 2010

How can we find the maximum size of the inode table and what decides it, and how the maximum size of volume of file system is decided ?

View 4 Replies View Related

General :: Access To Certain Directories To Ssh Users

Apr 17, 2010

I want to restrict access to certain directories to my ssh users but allow them to read files by known path from there(mostly it's meant to be done by applications).

View 2 Replies View Related

General :: Delete Directories Smaller Than X

Jun 14, 2010

How can I delete Directories which are smaller than, say, 1000 KB?

I already have a file list from the command:

But I don't know how to proceed.

Update:

The output of:

Is something like:

View 2 Replies View Related

General :: Smart Tab Completion (for Directories)?

Aug 4, 2010

Are there shell versions that have a more intelligent tab completion? I'd like to be able to type cd foo-<TAB> Then it would show me the possible completions along with numbers that I can type to select one of them:

cd foo-<TAB>
(1) foo-bar1 (2) foo-bar2 (3) foo-bad

So, after <TAB> I would type 3 and it would take me to foo-bad. Alternatively, using the arrow keys instead of typing the number would be fine.

View 2 Replies View Related

General :: Sync Two Directories Using Rsync?

Dec 24, 2010

I try to sync two directories using rsync.

the source is on Linux, and the other is on windows.

So, I mount the directory on windows using the command mount -t cifs . in Linux system.

Then I execute rsync ....

Everything is OK, but rsync prints out

rsync: chown "/mnt/windows/A/." failed: Permission denied (13)
rsync: chown "/mnt/windows/A/readme.txt" failed: Permission denied (13)

I want to sync the directories without changing ownership.

View 2 Replies View Related

General :: How To Navigate Certain Directories With Bash

Jun 28, 2011

I'm very new to working with the terminal on my macbook pro and am trying to understand how to navigate into certain directories with it. I can't seem to get out of my username directory. I'm trying to access MAMP/htdocs and get those files into my git repository. I'm new to all of this. I am typing and getting this:
David-Adamss-MacBook-Pro:~ davidadams$ cd Applications/MAMP/htdocs/barcodes
-bash: cd: Applications/MAMP/htdocs/barcodes: No such file or directory
I need to get the "davidadams$" out of that line but I don't know how to navigate out of it.

View 6 Replies View Related

General :: Permissions To Backup Some Directories?

Apr 30, 2010

I need to backup some Directories but
sudo chmod 777 *
Wont include permissions for daughter dirs

View 2 Replies View Related

General :: Add Directories To A New Users / Home?

Mar 31, 2011

I don't quite understand /etc/skel. I know that everything in /etc/skel will effect all NEW users, and that's about it.

Basically, what I'm trying to do is add the directories "home" and "work" to the users /home directory.

How do I do this?

View 2 Replies View Related

General :: Creating Multiple Directories?

Mar 28, 2010

I need to create subdirectories in about 300 existing directories - the subdirectory will have the same name in all 300 existing directories. How do I do this using the mkdir command using a regular expression or globbing?

View 3 Replies View Related

General :: Compare Two Directories In Different Servers?

Mar 28, 2011

I have a requirement. I need to write a shell script which will compare two directories residing in two different servers (SERVER A and SERVER B) and list out the discrepancies if found any. Script will be running from SERVER A.

View 3 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 :: 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 :: Listing Filenames Without The Directories?

Oct 3, 2010

list filenames one-per-line, in BASH without including directories. I think he was either wrong or making that up. There is a way to list just the names and one per line but there aren't any arguments I can find that can be used to exclude directories.

Code:

IFS=', '; files=`ls -m`; for i in $files; do if [ -f $i ]; then echo $i; fi; done That does only use ls as a command, however he said his GSI thought he could do it without all that...

Quote:

ricky@ricky-desktop:~$ ls -l
total 1376
drwxr-xr-x 2 ricky ricky 4096 2010-10-02 22:17 Azureus Downloads
drwxr-xr-x 4 ricky ricky 4096 2010-10-02 22:16 Desktop

[code]....

View 6 Replies View Related

General :: Merging Two Files From Two Different Directories?

May 14, 2011

I'm totally new to Linux and this website. I was wondering if anyone had or could help me create a shell script that would merge two files from two different directories and then have that new merged file in a third differnt directory.The merged file would need to eliminate duplicates and sort the contents.

View 6 Replies View Related

General :: Restricting 'du' To Child Directories Only?

Feb 15, 2011

I'm trying to write a script that uses the 'du' command to make essentially a text-based filelight type program. It should scan the current directory for the file's sizes and display them in order largest to smallest (or vice versa). The user should be able to go throughout the file tree and see child directories scanned for the sizes as they're accessed. I just need to know one more thing- how can I restrict the displayed results to the current working directory? would a grep for the output of pwd suffice? just getting some thoughts before i try and possibly dig myself a hole.

View 1 Replies View Related

General :: Color Coding Within Directories

May 13, 2011

Yes it's me again, about to ask a foolish question.I've ran man on this commands, but they don't make any reference to their color, nor is it mentioned in the Bible. As I go through such as /sbin what does the color of the commands mean, like arch is green, awk is blue, and then there is those that have a red background such as cgexec?Then I go into /etc and then there's yum.repos.d there is no man for it, so I typed it in and got "command not found", so then I went in SU mode and "vi yum.repos.d and I get "yum.repos.d" is a directory,No such file or directory. So just what is yum.repos.d, I thought this is where I add more repositories.

View 3 Replies View Related







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