Search Results

Search: Posts Made By: majest
6,494
Posted By majest
The problem I encountered was that wildcards...
The problem I encountered was that wildcards *were* expanded when I didn't want them to be. If exclude="C *.txt" then "for i in ${exclude}" expands the asterisk in *.txt to a list of .txt files in...
6,494
Posted By majest
The reason for using eval $mycommand is so that...
The reason for using eval $mycommand is so that other users can edit the top of the script where exclude and include are defined rather than having to read through the code. Your second construct is...
6,494
Posted By majest
Thanks, at least I'm not going crazy ;) Searching...
Thanks, at least I'm not going crazy ;) Searching around a little more, it seems there is a way to include multiple arguments. Basically you create a temp file with the patterns to exclude and point...
6,494
Posted By majest
tar --exclude with curly braces
I'm having trouble understanding the exclude option in tar. From some web sites, it seems one is able to exclude several strings by enclosing them in curly brackets. However it seems to be "random"...
2,881
Posted By majest
Pick one file from each subdirectory
Hi, I have a problem I am trying to solve with bash.

I need to search in a file system (data base) with hundreds of directories and thousands of subdirectories and millions of files. The files...
Showing results 1 to 5 of 5

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