this post was submitted on 18 Aug 2024
35 points (94.9% liked)

Linux

5393 readers
219 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 3 months ago (5 children)

I'm using "find . -name '*-FLAIR' -type d -ls -exec cp -lr -t ../../../media_links/ {} ; | grep 'Aug 18'" to make hardlinks for directories created on a certain date. However, I always get an error saying that it can't create hardlinks for a folder that doesn't even match the find criteria, while it works for the folders that I wanted. So, everything works, but I just wanna know why I'm getting that error. Any help? lmk if u need more info

[–] rrconkle 3 points 3 months ago

Try swapping the positions of -name ‘*-FLAIR’ and -type d

load more comments (4 replies)