Sponsored Content
Top Forums Shell Programming and Scripting search for files excluding binary files Post 302134973 by user_prady on Wednesday 5th of September 2007 12:18:01 AM
Old 09-05-2007
Quote:
Originally Posted by zazzybob
Something like this
Code:
$ find . -name "*.file" -type f -print | xargs file | grep ASCII | cut -d: -f1

Cheers,
ZB
I love this site and love the people here..

Great help indeed.. Thanks..

PradyuSmilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

listing files excluding files from control file

I have a directory named Project.I have a control file which contains valid list of files.I would like list the files from directory Project which contains files other than listed in the control file. Sample control file: TEST SEND SFFFILE CONTL The directory contains followign... (15 Replies)
Discussion started by: ukatru
15 Replies

2. Shell Programming and Scripting

cp -Rp excluding certain files?

Hi, I'm using cp -Rp to copy directories while preserving permissions. I want to exclude any ".lproj" files except for "English.lproj" and "en.lproj" from being copied, but the rest is copied as usual. Is there a way to do this (without using tar or other compression utilities) Thanks (3 Replies)
Discussion started by: pcwiz
3 Replies

3. Shell Programming and Scripting

Find files of specific size excluding search in a subdirectory

Hi All, I was exploring find command and came across -prune option which would exclude search in a mention subdirectory. My quesry is to search all files more that 100 MB size but exclude search in a subdirectory. I am using below command,but somehow it is not working. Can anybody help me... (6 Replies)
Discussion started by: usha rao
6 Replies

4. UNIX for Dummies Questions & Answers

Count number of files in directory excluding existing files

Hi, Please let me know how to find out number of files in a directory excluding existing files..The existing file format will be unknown..each time.. Thanks (3 Replies)
Discussion started by: ammu
3 Replies

5. SuSE

Search all files based on first and in all listed files search the second patterns

Hello Linux Masters, I am not a linux expert therefore i need help from linux gurus. Well i have a requirement where i need to search all files based on first patterns and after seraching all files then serach second pattern in all files which i have extracted based on first pattern.... (1 Reply)
Discussion started by: Black-Linux
1 Replies

6. Shell Programming and Scripting

Copying files excluding some files

Hi, I have a folder which contains files in this format. abc-bin.000001 abc-bin.000002 abc-bin.000003 abc-bin.000004 abc-bin.000005 abc-bin.000006 abc-bin.000007 abc-bin.000008 abc-bin.000009 abc-bin.000010 abc-bin.index I want to copy all the files between abc-bin.000004... (6 Replies)
Discussion started by: arijitsaha
6 Replies

7. Shell Programming and Scripting

Find command to search files in a directory excluding subdirectories

Hi Forum, I am using the below command to find files older than x days in a directory excluding subdirectories. From the previous forums I got to know that prune command helps us not to descend in subdirectories. Though I am using it here, not getting the desired result. cd $dir... (8 Replies)
Discussion started by: jhilmil
8 Replies

8. UNIX for Advanced & Expert Users

Find all files in the current directory excluding hidden files and directories

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

9. Shell Programming and Scripting

Append string to all the files inside a directory excluding subdirectories and .zip files

Hii, Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories. Eg. file1: test1.log file2: test2.log file3 test.zip After running the script file1: string_test1.log file2: string_test2.log file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies

10. Shell Programming and Scripting

Excluding files with timestamp from ls

Hi, I have a list of files all starting with aa but some of them also have a timestamp suffixed which I want to remove from my search. For e.g. aa1 aa2 aa.15-05-25_20:41:05.20150611 aa.15-05-26_20:29:40.20150611 aa.15-05-27_20:28:32.20150611 If I do ls -1 aa*, it will list everything... (7 Replies)
Discussion started by: swasid
7 Replies
passage(6)							       Games								passage(6)

NAME
passage - a game about the passage through life SYNOPSIS
passage DESCRIPTION
Passage is a video game written by Jason Rohrer about navigating the maze that is life and the obstacles, rewards, disappointments, chal- lenges, relationships and the inevitable departure that is part of the adventure of life. Passage is an art game. As a result, some people love it and some people hate it. Check out the links to places it has been discussed on the website for some of the reactions. The mechanics of the game are fairly simple. Your "score" is related to two things; exploration and treasure. Treasure pieces are repre- sented by blue stars that you find in the treasure chests scattered about the maze of life's challenges. Some chests will be empty, so you must learn which sequence of gems on the front of the chests means treasure is inside. You have the option to team up with a spouse. If you do, exploring life will be more rewarding but some treasure will no longer be reachable. As in life, your spouse will die and that death will slow you down. In the end, you will die alone after your 5 minutes is up. The most interesting part about this game is the emotions it evokes within the player of the game. The ultra-low-res pixel art helps here, by not being too distracting and by leaving plenty room for viewer interpretation. The followup to Passage is Gravitation, another art game by Jason Rohrer. USAGE
Passage has no command-line options. The arrow keys move the player around. The Esc key is used to quit the game. The game resolution and use of fullscreen or a window can be set by editing the files in /etc/passage. SEE ALSO
The website and discussion: http://hcsoftware.sourceforge.net/passage/ The game creators statement: http://hcsoftware.sourceforge.net/passage/statement.html March 2008 passage(6)
All times are GMT -4. The time now is 11:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy