Post Reply 
Recreating a *RecentAdded List in MinimServer
10-05-2025, 16:02
Post: #3
RE: Recreating a *RecentAdded List in MinimServer
Thanks, I used the following script:

#!/bin/bash

find /media -type f -printf '%T@ %p\n' 2>/dev/null | \
sort -nr | head -n 100000 | while IFS= read -r line; do
epoch=$(echo "$line" | awk '{print $1}')
file=$(echo "$line" | cut -d' ' -f2-)
timestamp=$(date -d @"$epoch" '+%Y-%m-%d %H:%M:%S.%3N')
printf "%s %s\n" "$timestamp" "$file"
done > added-dates.txt
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Recreating a *RecentAdded List in MinimServer - adriaan - 10-05-2025 16:02

Forum Jump:


User(s) browsing this thread: 1 Guest(s)