Well i want to know if its possible to rename a file
to the current date ?
like if i want to move todays date to the file name ?
*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the
On Tue, Aug 29, 2006 at 09:24:26AM -0700, S t i n g r a y wrote:
Well i want to know if its possible to rename a file
to the current date ?
like if i want to move todays date to the file name ?
It is not clear what you want. Can you provide an example?
Regards,
-Roberto
--
Roberto C.
On Tue, Aug 29, 2006 at 09:24:26AM -0700, S t i n g r a y wrote:
Well i want to know if its possible to rename a file
to the current date ?
like if i want to move todays date to the file name ?
Say the file you want to rename is t.txt you could use:
mv t.txt `date +%d-%m-%Y`
That gives
On Tue, Aug 29, 2006 at 09:24:26 -0700, S t i n g r a y wrote:
Well i want to know if its possible to rename a file
to the current date ?
like if i want to move todays date to the file name ?
Do you mean something like
mv somefile othername-$(date +%Y%m%d%H%M%S)
--
Regards,
Hello.
Well i want to know if its possible to rename a file
to the current date ?
like if i want to move todays date to the file name ?
You can use the ouput of „date“ (format as you wish; see manpage) for renaming
files if
you want that.
*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
Erm,
On Tue, Aug 29, 2006 at 12:24:26PM EDT, S t i n g r a y wrote:
Well i want to know if its possible to rename a file
to the current date ?
like if i want to move todays date to the file name ?
or ..
$ touch file
.. maybe..?
Thanks,
cga
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with
yes exactly
--- Florian Kulzer [EMAIL PROTECTED]
wrote:
On Tue, Aug 29, 2006 at 09:24:26 -0700, S t i n g r
a y wrote:
Well i want to know if its possible to rename a
file
to the current date ?
like if i want to move todays date to the file
name ?
Do you mean something like
mv
7 matches
Mail list logo