mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-12 04:15:00 -05:00
* try to support DSM log button
This commit is contained in:
parent
5b8a80e1be
commit
d1566c5bc8
@ -29,7 +29,8 @@ case "$1" in
|
||||
;;
|
||||
|
||||
log)
|
||||
find "$APP_ROOT/data" -name "*.log" -type f -print0 | xargs -0 ls -Alt1 | head -n 5 | awk '{print $7}'
|
||||
// select most recently modified log file (Caveats: the path of the log file must not contain spaces)
|
||||
find "$APP_ROOT/data" -name "*.log" -type f -print0 | xargs -0 ls -Alt1 | head -n 1 | awk '{print $7}'
|
||||
exit 0
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user