Warning using 'find'.


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Warning using 'find'.
# 1  
Old 11-16-2016
Try character sequence :b: in your post.

Smilie



Kind regards,
Robin
This User Gave Thanks to rbatte1 For This Post:
# 2  
Old 03-25-2017
In addition to ls, hidden files (i.e., files with a <period> as the first character of their name) are not found using the asterisk in the shell as a filename matching pattern unless you explicitly include <period> as the first character in the pattern. For example:
Code:
echo 'unhidden files:'
printf '"%s"\n' *
printf '\n\nhidden files:'
printf '"%s"\n' .*

prints two distinct sets of files
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find command giving incomplete sentence warning

Hi , I am adding a line in my shell scripts to delete all the old directory with the below command. On running this command it is coming out with the message find: incomplete statement find /ersdg3/ERS/ERS_INPUT_LOGS/RIO/rio_archive -type d -mtime +47 -exec rm -rf {} What is wrong or... (3 Replies)
Discussion started by: guddu_12
3 Replies

2. Solaris

Jumpstart -- Warning: Could not find matching rule in rules.ok

I just setup a new jumpstart server, and I'm having problems with rules.ok errors. I'm coming up blank after many Google searches, forum searches, etc..... This is the error I receive: Skipped interface e1000g1 Attempting to configure interface e1000g0... Configured interface e1000g0... (0 Replies)
Discussion started by: christr
0 Replies
Login or Register to Ask a Question