Search Results

Search: Posts Made By: tes218
6,016
Posted By bartus11
Try: egrep '/s..._[^/]+$' file
Try: egrep '/s..._[^/]+$' file
2,401
Posted By xbin
find "$PWD" -type d -name...
find "$PWD" -type d -name "${PWD##*/}"
2,401
Posted By jim mcnamara
You are trying to find files with duplicate names...
You are trying to find files with duplicate names in a directory tree. Yes?
I would try something like this:

#!/bin/ksh
find $1 -type f |
while read fname
do
d=dirname($fname)
...
2,401
Posted By methyl
Something similar to this? find "/cat" -xdev...
Something similar to this?

find "/cat" -xdev -type d -name "cat" -print | sort | while read dir
do
echo "${dir}"
cd "${dir}"
ls -ld * | grep \^\d # Directories only
...
Showing results 1 to 4 of 4

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