02-20-2006
can we do it without including the files from subfolders
Hi,
Thanks for ur reply..
that lists the files also from the sub directories..
can we do the same by not listing the files in the subdirectories..i want to list the files only from the current directory..
say if i have two subdirectories in the current directory..I should not get the files from the subdirectories to get listed..i want only the files from the current dir to be listed.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I would like to a long list of files up to a given date. I've tried:
ls -al > filelist
but this command gives me all the files. I've also have tried the find command:
find . -mtime -10 -type f -print > filelist
This gives me information on active file within the past 10 days and... (2 Replies)
Discussion started by: rlh
2 Replies
2. UNIX for Dummies Questions & Answers
Hai,
i have one directory contains 100 files .each file name like xvb_dateformat.i want find which file names are xvb_lessthan or equal to currentdate.
any one give the solution.
regards (4 Replies)
Discussion started by: mallikarjuna
4 Replies
3. Shell Programming and Scripting
How do we list all the file names in a directory that does not belong to current date. (1 Reply)
Discussion started by: esh.mohan
1 Replies
4. Shell Programming and Scripting
Hi,
I have a fixed 4 files in each different directory. The total 17 directories are there each one having 4 files inside it. I need rename all of them with current date. The files formates will be as below:
Folder1:
abc_NOR_xyz_ddmmyyyy.txt
abc_NOR_ghij_ddmmyyyy.txt
Folder2:... (5 Replies)
Discussion started by: rjanardhan83
5 Replies
5. Shell Programming and Scripting
I'm trying to list files, first by size and I'm using something like this
ls -l|awk '{print $5,$6,$7,$8,$9|"sort -nr"}'|more
Now I'd like to just do the same listing but only for files with the year 2009 in the $8 field or even anything less than 2011. (5 Replies)
Discussion started by: NycUnxer
5 Replies
6. Shell Programming and Scripting
i have directory /abcd and i want to copy all today date files in /xyz directory.
i am able to see the files by using below command but not able to understand copy.
find . -mtime -1 -type f -exec ls -l {} \; (2 Replies)
Discussion started by: learnbash
2 Replies
7. Debian
hi all,
i need to find same files in my directory that looks like this format
20121017145949639.xml (YYYYMMDD*.xml)
thanks for help (3 Replies)
Discussion started by: merouan
3 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Could you please help to resolve my following issues:
Problem Description:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies
9. UNIX for Beginners Questions & Answers
I am trying to work on a script where it is a *(star) delimited file has a multiple lines starts with RTG and 3rd column=TD8 I want to substring the date part and
I want to replace with currentdate minus 15 days. Here is an example. iam using AIX server
$ cat temp.txt
RTG*888*TD8*20180201~... (1 Reply)
Discussion started by: Shankar455
1 Replies
10. UNIX for Beginners Questions & Answers
Hello All,
we what we call a parameter file (.txt) where my application read dynamic values when the job is triggered, one of such values are below:
abc.txt
------------------
line1
line2
line3
$$EDWS_DATE_INSERT=08-27-2019
line4
$$EDWS_PREV_DATE_INSERT=08-26-2019
I am trying to... (1 Reply)
Discussion started by: pradeepp
1 Replies
LEARN ABOUT DEBIAN
w2text
W2TEXT(1) User Contributed Perl Documentation W2TEXT(1)
NAME
w2text - a plain text exporter for w2do
SYNOPSIS
w2text [-bS] [-o file] [-s file] [-w width] [-f|-u] [-d date] [-g group] [-p priority] [-t task]
w2text -h | -v
DESCRIPTION
w2text is a plain text exporter for w2do, a simple to use yet efficient command-line todo manager written in Perl. All tasks are listed by
default, but desired subset can be easily selected via specifying options.
OPTIONS
General Options
-h, --help
Display help message and exit.
-v, --version
Display version information and exit.
Specifying Options
-t task, --task task
Specify the task name.
-g group, --group group
Specify the group name. The group name should be a single word with maximum of 10 characters, but longer names are shortened
automatically.
-d date, --date date
Specify the due date. Available options are anytime, today, yesterday, tomorrow, month, year, or an exact date in the YYYY-MM-DD
format, e.g. 2008-06-17 for 17 June 2008.
-p priority, --priority priority
Specify the priority. Available options are integers between 1 and 5, where 1 represents the highest priority.
-f, --finished
Specify the finished task.
-u, --unfinished
Specify the unfinished task.
Additional Options
-o file, --output file
Use selected file instead of the standard output.
-s file, --savefile file
Use selected file instead of the default "~/.w2do" as a save file.
-w width, --width width
Use selected line width; the minimal value is 75.
-b, --bare
Organise tasks as a single list instead of listing them by groups they belong to.
-B, --no-bare
Organise tasks to the separate groups; the default option.
-S, --no-state
Do not display state information in the listing.
--with-state
Display state information in the listing; the default option.
ENVIRONMENT
W2DO_SAVEFILE
Use selected file instead of the default "~/.w2do" as a save file.
W2DO_WIDTH
Use selected line width; the minimal value is 75.
FILES
~/.w2do
Default save file.
SEE ALSO
w2do(1), w2html(1), perl(1).
BUGS
To report bugs or even send patches, you can either add new issue to the project bugtracker at <http://code.google.com/p/w2do/issues/>,
visit the discussion group at <http://groups.google.com/group/w2do/>, or you can contact the author directly via e-mail.
AUTHOR
Written by Jaromir Hradilek <jhradilek@gmail.com>.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included as a file called FDL in the main directory of the w2do source package.
COPYRIGHT
Copyright (C) 2008, 2009, 2010 Jaromir Hradilek
This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Version 2.3.1 2010-02-13 W2TEXT(1)