|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
rm output from mdfind
I am trying to delete all aliases from a specific location. so far i have: Code:
rm -f `mdfind -onlyin /Users/steve/Desktop/Test 'kMDItemKind=Alias' /` i thought this would delete all files that were Aliases using ItemKind, but it will not delete the files. However, doing just mdfind -onlyin /Users/steve/Desktop/Test 'kMDItemKind=Alias' , it finds all of the alias files. And, when I add rm -f to run on the output, it will only work if the alias is titled "Alias" instead of "Example alias" Please Help!!! |
| Sponsored Links | ||
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| iostat output vs TPC output (array layer) | arizah | Filesystems, Disks and Memory | 3 | 04-27-2011 11:17 AM |
| awk: round output or delimit output of arithmatic string | jelloir | Shell Programming and Scripting | 1 | 06-18-2010 03:07 AM |
| Converting line output to column based output | npatwardhan | Shell Programming and Scripting | 8 | 03-24-2010 08:40 AM |
| Expect - Interact output hangs when large output | natedog | Shell Programming and Scripting | 0 | 08-27-2008 11:21 AM |
| how to make a line BLINKING in output and also how to increase font size in output | mail2sant | Shell Programming and Scripting | 3 | 04-14-2008 07:30 AM |
|
|