Sponsored Content
Full Discussion: find files
Top Forums UNIX for Dummies Questions & Answers find files Post 302090302 by miles1982 on Monday 25th of September 2006 01:56:20 AM
Old 09-25-2006
Network find files

gents

i need to look for a file with the latest date ... to make it clearer, here's what it looks like:
/afc/data/EOD/Eoddev/Enqueue/Devices/Processed/060920212734/CDAuthorisedSet_0_7408.xml
/afc/data/EOD/Eoddev/Enqueue/Devices/Processed/060920214314/CDAuthorisedSet_0_7409.xml
/afc/data/EOD/Eoddev/Enqueue/Devices/Processed/060920220617/CDAuthorisedSet_0_7410.xml
/afc/data/EOD/Eoddev/Enqueue/Devices/Processed/060920231041/CDAuthorisedSet_0_7411.xml
/afc/data/EOD/Eoddev/Enqueue/Devices/Processed/060920232725/CDAuthorisedSet_0_7412.xml
/afc/data/EOD/Eoddev/Enqueue/Devices/Processed/060921003333/CDAuthorisedSet_0_7413.xml

now i need to find the latest CDAuthorisedSet_*.xml file ... how can i do that ...

ive been trying to find out a solution but cant seem to find it ..

here's my find command:
find /afc/data/EOD/Eoddev/Enqueue/Devices/Processed -name "CDAuthorisedSet*" -type f -print

this finds all the above files but who can i specify to use the one with the latest date ..

thanks
miles1982
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find files older than 20 days & not use find

I need to find files that have the ending of .out and that are older than 20 days. However, I cannot use find as I do not want to search in the directories that are underneath the directory that I am searching in. How can this be done?? Find returns files that I do not want. (2 Replies)
Discussion started by: halo98
2 Replies

2. Shell Programming and Scripting

Little bit weired : Find files in UNIX w/o using find or where command

Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same. Thanks in advance. Regards Jatin Jain (10 Replies)
Discussion started by: jatin.jain
10 Replies

3. Shell Programming and Scripting

Can I know find syntax to find given date files

Hi All, Can i use find command to know given date files? If yes, then please let me know the syntax for the same. Thanks in advance for your postive responses Regards, Bachegowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

4. Shell Programming and Scripting

Compare 2 folders to find several missing files among huge amounts of files.

Hi, all: I've got two folders, say, "folder1" and "folder2". Under each, there are thousands of files. It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command. However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies

5. Shell Programming and Scripting

Find and Rename files using (find mv and sed)

In response to a closed thread for degraff63 at https://www.unix.com/shell-programming-scripting/108882-using-mv-find-exec.html the following command might do it as some shells spit it without the "exec bash -c " part: Find . -name "*.model" -exec bash -c "mv {} \`echo {} | sed -e 's//_/g'\`"... (0 Replies)
Discussion started by: rupert160
0 Replies

6. Shell Programming and Scripting

what is the find to command to find the files created last 30 days

what is the find to command to find the files created last 30 days (5 Replies)
Discussion started by: rajkumar_g
5 Replies

7. UNIX for Dummies Questions & Answers

find Search - Find files not matching a pattern

Hello all, this is my first and probably not my last question around here. I do hope you can help or at least point me in the right direction. My question is as follows, I need to find files and possible folders which are not owner = AAA group = BBB with a said location and all sub folders ... (7 Replies)
Discussion started by: kilobyter
7 Replies

8. Shell Programming and Scripting

Find command to find a word from list of files

I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation. When I tried like below, -bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation -bash-4.1$ find ./ -name % Retail by State find: paths must precede expression: Retail Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies

9. Shell Programming and Scripting

find -ctime -1 cannot find files without extention

The problem is this one. I tar and gzip files on remote server Code: find . -ctime -1 | tar -cvf transfer_dmz_start_daily.tar *${Today}*.*; Command Code: find . -ctime -1 Doesn't find files without extension Code: .csv .txt I have to collect all files for current... (1 Reply)
Discussion started by: digioleg54
1 Replies

10. Shell Programming and Scripting

find -ctime -1 cannot find files without extention

The problem is this one. I tar and gzip files on remote server find . -ctime -1 | tar -cvf transfer_dmz_start_daily.tar *${Today}*.*; Command find . -ctime -1 Doesn't find files without extension .csv .txt I have to collect all files for current day, when the program... (1 Reply)
Discussion started by: digioleg54
1 Replies
GVFS(7) 						   Conventions and miscellaneous						   GVFS(7)

NAME
gvfs - GIO virtual file system DESCRIPTION
GIO provides a VFS API to GLib applications. It includes a 'local' implementation using POSIX. gvfs provides implementations that go beyond that and allow to access files and storage using many protocols, such as ftp, http, sftp, dav, obexftp, etc. It also provides support for trash folders, for cd burning and for monitoring interesting devices and volumes on the computer. Applications use gvfs indirectly, by means of GIO loading the gvfs module that implements the GIO extension points. The gvfs support for volume monitoring is included in a separate loadable module. The actual gvfs implementation is distributed over a number of processes. None of these are expected to be started from the commandline, except for debugging purposes. Main processes: o gvfsd - the main gvfs daemon o gvfs-fuse-daemon - mounts gvfs as a fuse filesystem o gvfsd-metadata - writes gvfs metadata Volume monitors: o gvfs-udisks2-volume-monitor - a udisks-based volume monitor o gvfs-afc-volume-monitor - a volume monitor for Apple iPhone/iPod Touch devices Mount backends: o gvfsd-afc - mounts iPhone/iPod touch volumes o gvfsd-afp - mounts Apple Filing Protocol volumes o gvfsd-afp-browse - browses Apple Filing Protocol volumes o gvfsd-archive - mounts archive files in various formats o gvfsd-burn - provides a location for burning CDs o gvfsd-cdda - mounts audio CDs o gvfsd-computer - provides computer:// o gvfsd-dav - mounts DAV filesystems o gvfsd-dnssd - browses dnssd o gvfsd-ftp - mounts over FTP o gvfsd-http - mounts over HTTP o gvfsd-localtest - a test backend o gvfsd-network - provides network:// o gvfsd-obexftp - mounts over obexftp o gvfsd-recent - provides recent:// o gvfsd-sftp - mounts over sftp o gvfsd-smb - mounts Windows Shares Filesystem volumes o gvfsd-smb-browse - browses Windows Shares Filesystem volumes o gvfsd-trash - provides trash:// ENVIRONMENT
GIO_USE_VFS If set, specifies the GIO vfs implementation to use. Possible values include 'local' and 'gvfs'. GIO_USE_VOLUME_MONITOR If set, specifies the GIO volume monitor implementation to use. Possible values include 'unix', 'GProxyVolumeMonitorUDisks2', as well as other native volume monitors that are described in the key files in $XDG_DATA_DIRS/gvfs/remote-volume-monitors. FILES
$XDG_DATA_DIRS/gvfs/mounts This directory contains key files describing mount daemons. $XDG_DATA_DIRS/gvfs/remote-volume-monitors This directory contains key files describing remote volume monitors. SEE ALSO
GIO documentation[1], gvfsd(1), gvfsd-fuse(1), gvfsd-metadata(1) NOTES
1. GIO documentation http://developer.gnome.org/gio gvfs GVFS(7)
All times are GMT -4. The time now is 04:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy