LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 10-08-2022, 09:15 AM   #1
black_void
LQ Newbie
 
Registered: Oct 2022
Distribution: Centos, Ubuntu
Posts: 2

Rep: Reputation: 0
CentOS 6.10: automatic print most recent edited/newest file in directory.


Hello there
Need some help with automatic print most recent edited/newest file in directory on CentOS 6.10.
I googled a bit and seen some manuals, most of them offers incron/inoticoming-based solutions, but i can't find these packages in repo.
So, there must be another way to do it...
 
Old 10-08-2022, 09:30 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Welcome to LinuxQuestions.
Just as an FYI CentOS 6 went end of life in 2020.

incron and inotify-tools packages were/are in the epel repository. I did not look but here is the archive.

https://dl.fedoraproject.org/pub/archive/epel/

Last edited by michaelk; 10-08-2022 at 09:34 AM.
 
Old 10-08-2022, 10:46 PM   #3
black_void
LQ Newbie
 
Registered: Oct 2022
Distribution: Centos, Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
yes, CentOS 6.x is very outdated, but there's a very special software that doesn't works on a newer OS.

thanks, "yum install epel-release" solved some of my problems
the other side of the problem is that i'm generally using Windows, so command-line interface is a bit challenging for me.
all these funny things like installing a virtual PDF printer via text browser is kinda unique experience for me, but that's Ok, i got Incron to work properly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change directory into the most recent folder? joshjoshjosh Linux - Newbie 13 08-22-2017 08:21 PM
[SOLVED] Printer doesn't print edited text in PDF files Linux.Blue472 Linux - Software 13 09-24-2013 09:24 PM
Need a script to automatically create/update a symlink to the most recent directory Mountain Linux - Software 8 04-19-2009 10:57 PM
Transfering most recent file every time from an directory sarajevo Programming 7 04-05-2007 07:52 AM
how to grab most recent directory toddcurry Programming 2 05-02-2005 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration