|
Adam, I think the shell may be expanding that wildcard into all the file names, so it probably depends on how many files are present as to what results you get. Try this syntax: find /dir1/dir2/dir3/dir4 -name '*' -print -Marty ------------------------------ date: Thu, 10 Feb 2005 16:25:48 +1100 from: "Adam Driver" <Adam.Driver@xxxxxxxxxxxxx> subject: QSHELL question for find command Hi Everyone, I have an issue for a client with the find command showing different results on different systems. On one system the command find /dir1/dir2/dir3/dir4/* returns a list of files in the last directory in the path. On the other system the same command returns qsh: 001-0085 Too many arguments specified on command. Even if I cd into the end directory and just do find * I still get the same result, so I'm assuming there is some sort of command default coming into play? Even after uninstalling QSHELL and restoring the licensed program from the system that does work I still get the same result. Both systems are at V5R2 with the same cume and group levels. Any help greatly appreciated ! Thanks Adam Driver
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.