خرید بک لینک

Vote count: 0

im trying to capture a find outcome within a batch script it works fine until i add another word example alien (works) alien 1 (not working)

found201=$(ssh root@192.168.1.201 find "${folder201[@]}" ! -path "*/.wdmc/*" -type f -iname "*$ffind*" | sort)

if i run

ssh root@192.168.1.201 'find /shares/Public/ /shares/Videos/ -type f -iname "*alien 1*"' | sort

with 'find .....' it works but nothing is captured

when i add '' to script get bad substitution (assuming it now treats as a string not a command)

i need to use find as later i need to delete files etc in a set maer

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 18 ارديبهشت 1395 ساعت: 20:39

صفحه بندی