Search Results

Search: Posts Made By: super210
3,197
Posted By super210
% character is understood in a different way by...
% character is understood in a different way by cron so we had to place \ before %
3,197
Posted By super210
I tried this it and it worked, should work now ...
I tried this it and it worked, should work now


#testing
03 14 * * * [ "$(date '+\%a')" = "\Thu" ] && /path/to/script > /tmp/
test101.log
3,197
Posted By super210
00 6 1-7 * Sun [ "$(date '+%a')" == "Sun" ] &&...
00 6 1-7 * Sun [ "$(date '+%a')" == "Sun" ] && /path/to/myscript.sh

---------- Post updated at 11:14 AM ---------- Previous update was at 11:08 AM ----------

try this hopefully this works
...
2,746
Posted By super210
No luck $ find . -type f -name '*sas7b*' | nawk...
No luck
$ find . -type f -name '*sas7b*' | nawk -F/ 'NF-- && $1=$1' OFS=/ | sort -u
./employee.sas7bdat
./employee.sas7bndx
./employee1.sas7bdat
./sasuser.v91/regstry.sas7bitm...
2,746
Posted By super210
posix, Thanks for the providing the...
posix,

Thanks for the providing the command. Want I really want is shell script outputing just the directories and subdirectories and not list the files.
$ find . -type f -name '*sas7b*'...
2,746
Posted By super210
Request for shell script for listing directories, subdirs containing specific files.
I'm looking for a script which outputs the list of directories and sub directories from root level consisting of specific files. For instance I want shell script to list all the directories and...
Showing results 1 to 6 of 6

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