Article 4ZWA3 What is Wrong

What is Wrong

by
TBotNik
from LinuxQuestions.org on (#4ZWA3)
All,

I'm using the cmd:
Code:locate php | grep topic | grep -E ^'backups|Trash' > /home/files/tcr_dump.txt && nano /home/files/tcr_dump.txtWhich searched for my files topic*.php and eliminates the /backups directory but does not eliminate the:
Code:/home/$USER/.local/share/Trash/directory!

What is wrong with my cmd string? I tried the cmd with the fulll "/home/$USER/.local/share/Trash/" path in the grep REGEX filter section after the "|" or seperator, but it is not working correctly/ The "/backups/" directory is actually in the root directory and of course the "Trash" directory is not. Wondering why that makes a difference?

Cbeers!

TBNKlatest?d=yIl2AUoC8zA latest?i=AYmZDJXCYqE:XC5BGinC3cA:F7zBnMy latest?i=AYmZDJXCYqE:XC5BGinC3cA:V_sGLiP latest?d=qj6IDK7rITs latest?i=AYmZDJXCYqE:XC5BGinC3cA:gIN9vFwAYmZDJXCYqE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments