09-24-2009
Edit: 10th edit to this post haha.
Now it's just a final problem. I need to concactonate two things. My text saying "you've found X ($COUNT) values". The string and the count in the same sentence.
Problem: $COUNT ends up being, if I echo it I get "1 results.txt"
Last edited by Feuyaer; 09-24-2009 at 05:16 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Gurus
WHat would be the command to check whether there is a file in particular path or not..
for ex: my file name is ExRate_20071501.csv
I can have many files with same pattern but diffrentiated by date..
i have a process where i have to check if files exist in tht folder i have to... (5 Replies)
Discussion started by: sish78
5 Replies
2. Shell Programming and Scripting
Dear All,
Appreciate some help here.
I have a log of report. It located in several directory as below:
Directory:
mysscpr1
mysscpr2
mysscpr3
my_scnpr4
In the directory it contain hundred of files.
i need to find a specific files that contain 'invc2345' in the directory.
How... (7 Replies)
Discussion started by: selamba_warrior
7 Replies
3. Shell Programming and Scripting
Hi all
I want to find a particular file type lets say .abc under /home/oracle/, the file name is start with 'D' and followed by ddmmyyyy date format, the file name should look like this D19092008.abc To my question, how can i perform the searching from the date 19/09/2008 to 29/09/2008. The... (3 Replies)
Discussion started by: coldstarhk
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I wanted to delete all the files under a directory "/apps/tmp/" which are two weeks older. But i should not delete the sub-directories and the contents of sub-directories.
I also have searched in forum and found the following command,
find . \( ! -name . -prune \) -mtime +13 -print
... (8 Replies)
Discussion started by: Sheethal
8 Replies
5. UNIX for Dummies Questions & Answers
I have a directory (and many sub dirs beneath) on AIX system, containing thousands of file. I'm looking to get a list of all directory containing "*.pdf" file.
I know basic syntax of find command, but it gives me list of all pdf files, which numbers in thousands. All I need to know is, which... (4 Replies)
Discussion started by: r7p
4 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am creating one script to Archive the older log files to Archive folder and deleting older files.
For example below path contains different sub folders. So searching for log files older than 2 days then zip and moving to Archive directory in the same directory.
Source files :-... (4 Replies)
Discussion started by: vadlamudy
4 Replies
7. UNIX for Advanced & Expert Users
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
8. UNIX for Dummies Questions & Answers
Hi
Just want to ask, Is it possible to find a file from a directory up to its sub-directories?
Thanks,
cmarzan (10 Replies)
Discussion started by: cmarzan
10 Replies
9. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
10. Shell Programming and Scripting
Hi,
I'm writing a post-upgrade script and I want to find which files don't have read and execute to everyone.
I can run a find . ! -perm, but then I have to use a list of the possible permissions (777,775, 755 etc). Is there a more elegant solution?
Thanks (2 Replies)
Discussion started by: Catullus
2 Replies
LEARN ABOUT DEBIAN
weboob-config
WEBOOB-CONFIG(1) General Commands Manual WEBOOB-CONFIG(1)
NAME
weboob-config - console application to manage weboob configuration
SYNOPSIS
weboob-config [-dqv] [-b backends] [-cnfs] [command [arguments..]]
weboob-config [--help] [--version]
DESCRIPTION
Weboob-Config is a console application to add/edit/remove backends, and to register new website accounts.
WEBOOB-CONFIG COMMANDS
add NAME [OPTIONS ...]
Add a backend.
applications
Show applications.
backends [ACTION] [BACKEND_NAME]...
Select used backends.
ACTION is one of the following (default: list):
* enable enable given backends
* disable disable given backends
* only enable given backends and disable the others
* list list backends
* add add a backend
* register register a new account on a website
* edit edit a backend
* remove remove a backend
* list-modules list modules
confirm BACKEND
For a backend which support CapAccount, parse a confirmation mail
after using the 'register' command to automatically confirm the
subscribe.
It takes mail from stdin. Use it with postfix for example.
disable BACKEND
Disable a backend
edit BACKEND
Edit a backend
enable BACKEND
Enable a disabled backend
info NAME
Display information about a module.
list [CAPS ..]
Show backends.
modules [CAPS ...]
Show available modules.
register MODULE
Register a new account on a module.
remove NAME
Remove a backend.
update
Update weboob.
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-b BACKENDS, --backends=BACKENDS
what backend(s) to enable (comma separated)
LOGGING OPTIONS
-d, --debug
display debug messages
-q, --quiet
display only error messages
-v, --verbose
display info messages
--logging-file=LOGGING_FILE
file to save logs
-a, --save-responses
save every response
RESULTS OPTIONS
-c CONDITION, --condition=CONDITION
filter result items to display given a boolean expression
-n COUNT, --count=COUNT
get a maximum number of results (all backends merged)
-s SELECT, --select=SELECT
select result item keys to display (comma separated)
FORMATTING OPTIONS
-f FORMATTER, --formatter=FORMATTER
select output formatter (csv, htmltable, multiline, simple, table, webkit)
--no-header
do not display header
--no-keys
do not display item keys
-O OUTFILE, --outfile=OUTFILE
file to export result
COPYRIGHT
Copyright(C) 2010-2012 Christophe Benz, Romain Bignon
For full COPYRIGHT see COPYING file with weboob package.
FILES
"~/.config/weboob/backends"
SEE ALSO
Home page: http://weboob.org/applications/weboob-config
weboob-config 0.c 04 May 2012 WEBOOB-CONFIG(1)