Re: Preserving file creation dates on [copyfile]

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68424
interpreted = N
texte = *.TIF is what's breaking it. You need to do 1 file per command. Batch it up with [loop] -- Jesse Proudman, Blue Box Group, LLC On Feb 5, 2007, at 5:59 PM, WJ Starck wrote: > Jesse, > > [shell] > cp -p Conversions/WStarck_0001/Images/*.TIF Conversions/ > WStarck_0001/ConvertedImages/[newfilename].TIF > [/shell] > > Copies the files in the Images folder to the ConvertedImages > folder, but keeps the names the same... > > However, if I do the above directly from the command line, it works? > > -Will > > On Feb 5, 2007, at 7:44 PMCST, Jesse Proudman wrote: > >> cp -p should do that... What's your syntax? >> >> -- >> >> Jesse Proudman, Blue Box Group, LLC >> >> >> >> >> On Feb 5, 2007, at 5:39 PM, WJ Starck wrote: >> >>> Well, that works, kinda sorta. >>> >>> Here is my snippet: >>> >>> >>> [shell] >>> rsync -t Conversions/WStarck_0001/Images/*.TIF Conversions/ >>> WStarck_0001/ConvertedImages/[newfilename].TIF >>> [/shell] >>> >>> What I want it to do is copy the file, preserve the modification >>> date, *and* give it a new name. >>> >>> Right now, rsync (or cp -p for that matter), copies the file to >>> the right destination while preserving the mod date, but the >>> filename is not changed. >>> >>> Perhaps what I want to do is not possible? >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- > Will Starck > NovaDerm Skincare Science > http://www.novaderm.com > helpdesk@novaderm.com > 866-892-4149 > > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. [FIXED] Re: Preserving file creation dates on [copyfile] ( WJ Starck 2007)
  2. Re: Preserving file creation dates on [copyfile] ( Jesse Proudman 2007)
  3. Re: Preserving file creation dates on [copyfile] ( Jesse Proudman 2007)
  4. Re: Preserving file creation dates on [copyfile] ( WJ Starck 2007)
  5. Re: Preserving file creation dates on [copyfile] ( Marko Bernyk 2007)
  6. Re: Preserving file creation dates on [copyfile] ( Jesse Proudman 2007)
  7. Preserving file creation dates on [copyfile] ( WJ Starck 2007)
*.TIF is what's breaking it. You need to do 1 file per command. Batch it up with [loop] -- Jesse Proudman, Blue Box Group, LLC On Feb 5, 2007, at 5:59 PM, WJ Starck wrote: > Jesse, > > [shell] > cp -p Conversions/WStarck_0001/Images/*.TIF Conversions/ > WStarck_0001/ConvertedImages/[newfilename].TIF > [/shell] > > Copies the files in the Images folder to the ConvertedImages > folder, but keeps the names the same... > > However, if I do the above directly from the command line, it works? > > -Will > > On Feb 5, 2007, at 7:44 PMCST, Jesse Proudman wrote: > >> cp -p should do that... What's your syntax? >> >> -- >> >> Jesse Proudman, Blue Box Group, LLC >> >> >> >> >> On Feb 5, 2007, at 5:39 PM, WJ Starck wrote: >> >>> Well, that works, kinda sorta. >>> >>> Here is my snippet: >>> >>> >>> [shell] >>> rsync -t Conversions/WStarck_0001/Images/*.TIF Conversions/ >>> WStarck_0001/ConvertedImages/[newfilename].TIF >>> [/shell] >>> >>> What I want it to do is copy the file, preserve the modification >>> date, *and* give it a new name. >>> >>> Right now, rsync (or cp -p for that matter), copies the file to >>> the right destination while preserving the mod date, but the >>> filename is not changed. >>> >>> Perhaps what I want to do is not possible? >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- > Will Starck > NovaDerm Skincare Science > http://www.novaderm.com > helpdesk@novaderm.com > 866-892-4149 > > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Jesse Proudman

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

E-mailer error codes (1997) Error 11 (1996) Using Applescript to process WebCatalog functions (1998) NT Version on IIS 4.0 (1997) setting line item numbers (1998) database files in secure folder (1997) Dummy Credit Card Number for debug? (1997) answers - opinions? (1998) WebCatalog and Webstar 3.02 (1998) FW: I'll Know If You Don't Read This (2006) [WebDNA] includes with includes (2009) The IBC root beer has arrived! (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Catalogs and W* (1996) Random Number Generator works for Ranges of Numbers (1997) Text data with spaces in them... (1997) why is this line in GeneralStore? (1998) Problems with date math (1997) Re:no [search] with NT (1997) Help Please WebDNA 6 Secure Forms Problem (2004)