xargs is telling you what's wrong. You have filenames with spaces, ', and other such nasties in them which are confusing it. It splits on spaces by default.
I see...
Quote:
There may be ways around this if we had any idea what your system was -- but we don't.
Hello,
I am new to unix and would like to have a count of all the files in the current directory as well as all the files in a subdirectory.
The command I used was ls -R | wc -l
but the number returned wasn't correct. Can someone please help?
Thanks (2 Replies)
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Hi,
I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb.
if I use $ du - ks , it will add up all files in the dir.
thanks,
Helen (5 Replies)
Hi,
I am trying to get the total file size for certain files per directory.
I am using
find /DirectoryPath -name '*.dta' -exec ls -l {} \; | awk '{ print $NF ": " $5 }' > /users/cergun/My\ Documents/dtafiles.txt
but this lists all the files in the directories.
I need the total... (9 Replies)
as we use du - sh *.frm
In This command It will show the list of files and size
But I want the Total size that these files in directory with extension .frm
How can we do This (6 Replies)
Hello all,
I need to do scripts total up the size in selected extension file for example motion.mov and segmentation.avi is in Label Media. For file info.doc and calc.xls in Label Document.
I need output will be like this:
count 1
Media,,2 GB
count 2
Document,,4 GB
My problem is,... (16 Replies)
:mad:i need command to know the total size of project in my system by Giga bit
i try
#du -s /*/projectname
but i need total size for this project by G.B
can you help me (6 Replies)
If I have a number of files in a directory, for example,
test.1
test.2
test.3
abc.1
abc.2
abc.3
and I need to find the total file size of all of the test.* files, I can use du -bc test.* in Linux.
However, in Solaris, du does not have the -c option. What can I do in Solaris to get... (11 Replies)
Hi All,
I have a folder name lets say path/to/folder/CUSTOMER and under this i have several folders and each of these subfolder have serveral subfolders and so on and at some point i will have a folder name called "FTP_FILES" .
I need to search for these folders named "FTP_FILES and then... (10 Replies)
I have a folder named test/ and under that I have multiple directories and in each of the directory I have multiple log files. I want to know how many files exists under each sub directory.
test
|--quanrantine
|--logfile1
|--logfile2
|--spooling
|--logfile1
... (4 Replies)
Discussion started by: ravikirankethe
4 Replies
LEARN ABOUT CENTOS
rhsm-debug
rhsm-debug(8) Certificate Information Tool rhsm-debug(8)NAME
rhsm-debug - Compiles information about system's entitlements, products, and identity used by Red Hat Subscription Manager.
SYNOPSIS
rhsm-debug module [options]
DESCRIPTION
rhsm-debug compiles information about system's entitlements, products, and identity used by Red Hat Subscription Manager.
COMMANDS AND OPTIONS
rhsm-debug has specific options available for each module, depending on what operation is being performed. The currently supported modules
are:
1. system
COMMON OPTIONS
-h, --help
Prints the specific help information for the given command.
--proxy=PROXY
Uses an HTTP proxy. The PROXY name has the format hostname:port.
--proxyuser=PROXYUSERNAME
Gives the username to use to authenticate to the HTTP proxy.
--proxypassword=PROXYPASSWORD
Gives the password to use to authenticate to the HTTP proxy.
SYSTEM OPTIONS
The system command pulls in debug information off of the current system
--destination=DESTINATION
The directory to place the resulting debug data. The default is /tmp.
--no-archive
Generates an uncompressed directory intead of a gzipped file.
--sos Excludes data files that are also collected by the sosreport tool.
BUGS
This tool is part of Red Hat Subscription Manager. To file bugs against this command-line tool, go to <https://bugzilla.redhat.com>, and
select Red Hat > Red Hat Enterprise Linux > subscription-manager.
AUTHORS
William Poteat<wpoteat@redhat.com>. The rhsm-debug tool was written by William Poteat.
COPYRIGHT
Copyright (c) 2012 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is avail-
able at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
version 1.3 May 23, 2013 rhsm-debug(8)