searching for pharo code on disk
Hi, I'm looking for some code I wrote maybe 7 years ago. A web scraper that collected data from a specific web shop. It must be somewhere in my home dir in an image, perhaps Pharo 4.0, or in .mcz files stored by Monticello. What would be a good way to search for it? I tried `grep -r --include \*.changes "server-url.com" ~` (I also asked ChatGPT as per the previous discussion on this list, and it tries its best to teach me about grep and sound very convincing while providing me with arguments that grep can't evaluate :)) with no luck so far. Any ideas? Thanks, Siemen
May have some syntax wrong, but something like: find . -name *.changes -exec âgrep -i webscrap â Check the manpage of find command for exec examples. The -i on grep ignores uppercase/lowercase differences. HTH On Tue, Mar 21, 2023 at 11:55 AM Siemen Baader <siemenbaader@gmail.com> wrote:
Hi,
I'm looking for some code I wrote maybe 7 years ago. A web scraper that collected data from a specific web shop. It must be somewhere in my home dir in an image, perhaps Pharo 4.0, or in .mcz files stored by Monticello. What would be a good way to search for it? I tried
`grep -r --include \*.changes "server-url.com" ~`
(I also asked ChatGPT as per the previous discussion on this list, and it tries its best to teach me about grep and sound very convincing while providing me with arguments that grep can't evaluate :))
with no luck so far.
Any ideas?
Thanks, Siemen
Monticello files AFAIR are zip files. So maybe you can extract them and run grep against the content On Tue, Mar 21, 2023, 12:55 Siemen Baader <siemenbaader@gmail.com> wrote:
Hi,
I'm looking for some code I wrote maybe 7 years ago. A web scraper that collected data from a specific web shop. It must be somewhere in my home dir in an image, perhaps Pharo 4.0, or in .mcz files stored by Monticello. What would be a good way to search for it? I tried
`grep -r --include \*.changes "server-url.com" ~`
(I also asked ChatGPT as per the previous discussion on this list, and it tries its best to teach me about grep and sound very convincing while providing me with arguments that grep can't evaluate :))
with no luck so far.
Any ideas?
Thanks, Siemen
participants (3)
-
Gabriel Cotelli -
Siemen Baader -
Yanni Chiu