Search Results

Search: Posts Made By: britty4
1,581
Posted By MadeInGermany
-ot is defined for the [[ ]] compound in ksh and...
-ot is defined for the [[ ]] compound in ksh and bash:
#!/bin/ksh

directory=$1
file=$2
count=0

for f in "$directory"/*
do
if [[ "$f" -ot "$file" ]]; then
echo "$f"
...
1,581
Posted By vgersh99
here's something to start with for the 'older'...
here's something to start with for the 'older' files:

find myDirectory ! -cnewer myReferenceFile -print
Showing results 1 to 2 of 2

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