get all files with datatype not equal to data.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PALL
    New Member
    • Sep 2007
    • 1

    get all files with datatype not equal to data.

    hi,

    i am in a situation where i has to grep all the files with datatype other than filetype = data..

    right now i am doing grep files other than ASCII by using following..

    for file in `directory | grep ASCII | cut -f1 -d":"`
    do
    ..something..
    done;

    this i am doing because once i decrypt file type will be changed from one datatype to other datatype.


    Can anyone tell me how to solve my issue.

    Thanks
    pall
Working...