Re: duplicate directory tree

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Snyder, Alexander J via PLUG-discuss
Date:  
To: Main PLUG discussion list
CC: Snyder, Alexander J
Subject: Re: duplicate directory tree
Well, "rm -rf DIRECTORY" will kill it, but rather than just blindly doing
that, you might consider using the FIND command and searching for certain
files (-iname "*.jpg) or something.

ChatGPT should be able to give you the proper FIND syntax with -exec

--
Thanks,
Alexander

Sent from my Google Pixel 7 Pro

On Thu, Aug 22, 2024, 10:09 Michael via PLUG-discuss <
> wrote:

> I got a problem. a while ago I accidentally pulled a directory into
> another directory and copied all the directories into the new directory. I
> THINK some of the files in the directory were my pictures. Well, I'm
> running out of room and need to delete those directories. Could someone
> show me how to do this?
>
> --
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss