General :: List Only Non-empty Files Using Ls?

Sep 23, 2010

How can I list (using ls) all files that are not empty (size > 0) using linux?

View 7 Replies


ADVERTISEMENT

Ubuntu One :: Got Empty Result For Devices List?

May 11, 2010

I get ubuntu 10.04 LTS installed on my PC and laptop , and I tried ubuntu one.It worked and I want to have a test, so I removed the two devices that already subscribed to my ubuntu one account, after that, I found I can't get them subscribed back.Everytime I start ubuntu one preference , I'll get the error message: got empty result for devices list.How can I add my two devices back to my ubuntu one account (I googled a lot and found that someone pointed that delete the ubuntu one's key will work, so if this is the right solution, how to delete it?

View 5 Replies View Related

Ubuntu :: Emoathy Msn Contact List Is Empty

Aug 27, 2010

I've always used empathy as an MSN client and everything has always worked fine. Since a week ago (or something more) my on-line contact list has become empty, all of my contacts are marked as off-line. I checked at meboo and I had a lot of on-line contacts, so it must be an empathy issue. I wouldn't want to change messaging client, I like the way empathy integrates the gnome desktop.

View 3 Replies View Related

OpenSUSE Install :: Empty User List Pre-logon

Dec 14, 2009

Sometimes my user list is empty on start-up. When it happens the buttons beneath the empty list (shutdown, suspend and restart), are not responding. As a work-around I login to the first terminal as root to restart the machine and usually my normal user account appears back on the list. This morning the reboot work-around didn't work any more..

View 4 Replies View Related

Ubuntu Servers :: Clean Install: /etc/apt/sources.list Empty?

Aug 30, 2010

During 10.04 install I ran into an error every time I tried to install packages, so I just skipped the step figuring I'd do it later.Boot up, nothing but the cd in /etc/apt/sources.list. Does anyone know where I can find the default sources.list?

View 2 Replies View Related

General :: List/find All Regular Files In All Subdirectories Excluding Binary Files

Oct 5, 2010

I know I can do find . -type f, but that includes binary file and I couldn't find a way to exclude them with find

View 4 Replies View Related

Fedora Security :: SELinux Troubleshooter Flags New Alert, ... But List Is Empty?

Feb 6, 2010

Everytime I login the SELinux Troubleshooter panel applet alerts me that I have 1 alert to view, however when I click on the icon and bring up the Troubleshooter there are no alerts

View 2 Replies View Related

Ubuntu :: Empathy Messenger - Contacts Management - Cannot Get The 'ungrouped' List Empty

Jan 8, 2011

I am using Empathy messenger 2.32.1 on Ubuntu 10.10. The issue I have is that try as I may, I cannot get the 'ungrouped' list empty i.e. there are always 6-7 contacts during every empathy login session that show up as 'ungrouped' even though I specifically grouped them into a user-defined group during the last empathy login session. For e.g. I login into gmail and facebook during session-A and classify all my 'ungrouped' contacts into relevant groups. I logout and log back in to session-B, and now I still see some of my grouped contacts go back into the 'ungrouped' pile.

View 1 Replies View Related

General :: Bash Shell Script To Check / If Empty Files Are Being Created & Start Process

Jun 25, 2010

I have an Ubuntu server in which a file is dumped every hour and a new file for the next hour and the process continues. If there is any problem due to which the creation of file stops then empty files are created every minute till the process is killed & started again. I need help to make a shell script to check if the empty files are being created and then kill the process and start it again.It would be a great help if anyone can help me regarding this.

View 9 Replies View Related

Programming :: Downloading A List Of Files From A Remote Server Using A List?

Feb 10, 2009

I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.

#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget

[code].....

View 7 Replies View Related

General :: How To Tar A List Of Files

Feb 11, 2010

I have some files located in /vol0/archives that has several files Eg:- arch_00001.arc , arch_00002.arc, arch_00003.arcI want to tar each of those files into separate tar ball by taking it garbing it file name sequence,Eg:- arch_00001.arc.tar.gz , arch_00002.arc.tar.gz, arch_00003.arc tar.gzhow do I define the tar command to go get those files and tar each file separately, As I mention above

View 2 Replies View Related

General :: Untar A List Of Tar Files?

Jan 5, 2011

untar a bunch of files located in different folders, with folder deep unkown.Found an old post about this matter but the suggestion extracts all files in the same folder (your current).I wan't to extract files to the same folder as the tar file.The solution from the old post (extracts all files to current folder)find . -name "*.tar" -exec tar xvf {}

View 1 Replies View Related

General :: List All Files By Type ?

Jun 22, 2010

How do I (in the command line) list all the .txt (or any common attribute) files in a directory?

View 4 Replies View Related

General :: List Only Hidden Files?

Feb 15, 2010

how to list only hidden files in current directory ?

View 7 Replies View Related

General :: Have A List Of Files, Move Them Using One Command?

Nov 2, 2010

I have run a command which finds a lot of files based on some search criteria. It returns the files like so:

./somepath/somepath/file.something
./asdf/asdf/s.php
./etc/a.php
./a/b/c/d/e/f/g.jpg

So I was wondering, if I capture this output into a file (ie. one file per line), can anyone help me write a command which iterates through the file and moves the files one by one to a specified directory?

View 3 Replies View Related

General :: List Files Bigger Than Filesize Specified?

Jan 15, 2011

How can I make ls (or any other particular command) to list me only files bigger than a specific file size?

View 1 Replies View Related

General :: List Files Beginning With Underscores First When Using `ls -l`?

Aug 3, 2011

I'm using ubuntu (natty), and when I use ls -l, the files are listed, but apparently the sorting algo ignores any special characters. For ages I've used underscores to mark special folders. And it seems to me, that they were always listed first. Now, the underscore is completely ignores. Let's assume that I have the files fileA, _fileB and fileC in a folder. Currently, ls -l orders them like so:

malbert@dredg:/tmp/1$ ls -l
total 0
-rw-r--r-- 1 malbert domain users 0 2011-08-03 15:27 fileA
-rw-r--r-- 1 malbert domain users 0 2011-08-03 15:27 _fileB
-rw-r--r-- 1 malbert domain users 0 2011-08-03 15:27 fileC

[Code]...

I've dug through the ls man page and could not find anything. Is there somewhere a system-wide collation option? Or something the like?

View 1 Replies View Related

General :: List Contents Of All Files Recursively?

Jan 22, 2011

What I would like to do is to print the contents of all text files in a particular directory, recursively. Problem being that there are directories and possibly binaries scattered around in the filesystem as well.

Trying cat * works as long as there are no directories in there, but when there are it gives an error instead and prints nothing.

I'm sure it's easy using file -f or something but I can't figure it!

View 8 Replies View Related

General :: I /O Error When Trying To List Files In Directory

Dec 28, 2010

When I try to list files in directory. I am getting i/o error
#ls -l /test
I am getting i/o error. Why I am getting this error and what are these i/o errors.

View 5 Replies View Related

General :: Make A List Of Directories And Files?

Jun 3, 2011

My system is centos 5.5, and I need nobody:nobody's directories and files under data.

There is a directory named "data, and this directory has so many directories and files generated by web program. Most of them is nobody:nobody.

I want to to make a list of these nobody:nobody directories ans files.

Is it possible to make a list of these directories and files?

View 1 Replies View Related

General :: List All Files/folders A User May Delete?

Aug 17, 2010

I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption).What command or script might i use to check this?

View 3 Replies View Related

General :: List Only Today Modifed Files In Ubuntu?

Dec 30, 2010

How to list only today modify files in Linux ? How to 'scp' the today updated or modified files to another server? How to list files with modified date in Linux ? Currently am using UBUNTU 10.04

View 2 Replies View Related

General :: List Recursively All Files With Timestampsand Fullpath?

Jan 3, 2011

I want to list recursively all files in given direcotry, with their fullpath and their timestamps.Something like this:10:30 Dec 10 2010 /tmp/mydir/myfileI've tryied with:find . -type f -exec ls -la {} ;but that don't give me the fullpath.

View 3 Replies View Related

General :: How To Get List Of Files Not Matching Patterns In Bash

May 4, 2011

I have a file with joker character patterns:
./include/*
./src/*
etc.
From the current directory I would like to recursively get the list of files that do not match these patterns.

View 2 Replies View Related

General :: List All Files In A Windows SMB Network Share?

May 31, 2011

Given a single SMB network share (for example, \server\SHARED_FOLDER), I want to recursively list all the files, including those in the subdirectories (like find(1)).

I would prefer to do it in Linux, but I also accept Windows answers.

View 1 Replies View Related

General :: List Folders By The Number Of Files Recursively

Aug 11, 2011

Is there any Linux application for finding the folders with the most number of files? baobab sorts folders by their total size, I'm looking for a tool that lists folders by the total number of files in it.

The reason I'm looking is because copying tens of thousands of small files is excruciatingly slow (much slower than copying a few large files of the same size), so I want to archive or delete those folders with high file counts that that will be slowing down the copying (it won't speed things up now, but it would be faster when I need to move/copy it again in the future).

View 5 Replies View Related

General :: Find And List Files Created In A Particular Year?

Jan 31, 2011

How to find and list files and directories present the current directory which were created in, say, years 2005, 2006, and 2009 and then move them to some other location, for example, /backup. Yes, I need to list them and move simultaneously. We can use:

Code:

find . -mtime n {};

but that n is troublesome for me to figure out files/directories created in years 2005, 2006, and 2009, for instance. Is there any way to match exactly by Year Value rather than calulating the "n" (days * 24 Hours)?

System Info:

SunOS 5.8 Generic_117350-06 sun4u sparc SUNW,Ultra-Enterprise

View 3 Replies View Related

General :: List Directories And Number Of Files Inside Them

Mar 19, 2011

I'm looking for a way to produce a list of all the directories in the current working directory sorted by the total number of files that are contained with them.

Initially I though that Nautilus could be used for this, but then I realised it doesn't count files in the sub directories.

The best I've got for a command line solution so far is this

Code:

The use case for this is a situation where a user has a quota applied to their home directory which limits the number of files they are allowed to have and they have exceeded that limit.

View 4 Replies View Related

General :: Adding Line To A Queried List Of Files

Apr 19, 2011

I am trying to add a line of text to hgrc files for Mercurial Repo'sThe file is found normally in a hidden .hg directory under the repo.I need to add a "deny_read = username" to the end of each of these hgrc files. Suggestions either in shell script format, or a single line?

View 4 Replies View Related

General :: Find A List Of Files That Are Named Duplicates ?

Jul 2, 2010

How can I find a list of files that are named duplicates i.e. have same name but in different case that exist in the same directory?

View 7 Replies View Related







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