Search Results

Search: Posts Made By: LuckyTommy
5,425
Posted By Skrynesaver
for i in $(file * |grep JPEG| cut -d\: -f1);do...
for i in $(file * |grep JPEG| cut -d\: -f1);do Run the file command on each file and if the result contains the string "JPEG" use cut to extract just the file name.

try running file on a JPEG file...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 12:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy