Search Results

Search: Posts Made By: meenavin
6,635
Posted By meenavin
It works fine only when there are no folders...
It works fine only when there are no folders created with ".". I have few folders with name that has ".". In this case it fails
6,635
Posted By meenavin
Find command to exclude files with no extension
The below 'ls' command will list down files with extensions and suppress the ones with no extension

ls |grep "\\." But this dosen't work when I apply the same logic using 'find' command

find...
4,003
Posted By meenavin
I tried using find . | grep -v "\." to list the...
I tried using find . | grep -v "\." to list the files with no extension but its not working. Instead of 'find' if I give 'ls' it works fine. My requirement is to using it with 'find' command.
4,593
Posted By meenavin
I've finally completed the code Config...
I've finally completed the code


Config file

BACKUP_FOLDER=/root/test/tmp
EXT_PATTERN=jpg|xml|fxsql|log|xmi|tld...
4,593
Posted By meenavin
Hey this thread rocks!!! Getting response so...
Hey this thread rocks!!! Getting response so fast. Thanks a lot

One final help. I need to move the files to a destination directory.

eg move this ./.libreoffice/3/user/gallery/sg30.sdv...
4,593
Posted By meenavin
Thanks for the command and it works fine. I made...
Thanks for the command and it works fine. I made small change so that I can get the full file path

find .| egrep -v "\.(jpg|xml|sql|txt)$"

Is there any way to suppress the display of directory...
4,593
Posted By meenavin
Script to list non matching files using pattern
Hi,

I am trying to write a script that list down all the files that do not match the pattern

My pattern will be like this "*.jpg|*.xml|*.sql". This pattern will be stored in a file. The script...
Showing results 1 to 7 of 7

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