How do I put cygpath -ma in the command instead of 'PATH'?

Also, is there a way to add a trailer (currently just a header to each line)

Thanks,

Panarchy

On Thu, Dec 10, 2009 at 10:47 AM, Gary Johnson <garyj...@spocom.com> wrote:
> On 2009-12-09, Jeremy Bopp wrote:
>> Chip Panarchy wrote:
>
>> > Then I ran the following command from command-prompt;
>> >
>> > find2 . -follow -type f | sed -e "s|^\.|PATH|" -e "s|^|File:\t|"
>> >
>> > Is there a command (from Cygwin/Linux: PATH) which I can use to print
>> > the full directory path?
>> >
>> > Please tell me how I can make this command work.
>>
>> The default behavior of the find program is to print out paths including
>> the path to the directory you are searching.  In your case, you're using
>> the current working directory (.), but you could give find the full path
>> instead.  You can run something like the following:
>>
>> find path/to/my/directory -follow -type f | sed -e "s|^|File:\t|"
>>
>> All file paths printed by this will have path/to/my/directory included
>> so there is no need to have sed try to replace (.) with some other path
>> string.
>
> In addition to all that, if you're trying to convert between Cygwin
> full path names and Windows full path names, use cygpath.
>
> Regards,
> Gary
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to