OS4 DepotLogo by Liksmaskaren 
(anonymous IP: 3.22.42.189,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 File comments for:  Utility » Shell » cd-dot-dot.lha

Cd-dot-dot

Description: Makes it possible to type CD.. or CD .. in shell
Download: cd-dot-dot.lha
Version: 2.2
Date: 10 Jan 2011
Category: utility/shell
FileID: 6189
RSS Feed url: https://eu.os4depot.net/modules/comments/rssfeed.php?file=utility/shell/cd-dot-dot.lha

[Back to readme page]   [Add Comment]   [Refresh page]

Comment by: Marko (90.227.189.34)At: 29 Aug 2010, 16:45File version: 2.0
Thanx :)

The "cd .." will take you to the parent drawer,
and using "cd ../" will traverse into a ".." directory.
 
 
Comment by: MickJT (202.161.4.59)At: 29 Aug 2010, 11:20File version: 2.0
Cool, "cd .." might be useful. Well, for the people who are used to it.

Does it override any previously existing ".." directory you might have? I.E If you have a ".." directory, can you "cd .." to traverse into it, or will it still go to the parent directory?
 
 
Comment by: kas1e (78.36.143.179)At: 29 Aug 2010, 11:00File version: 2.0
Marco, thanks for "cd .." stuff :)
 
 
Comment by: marko (90.227.189.34)At: 17 May 2010, 15:24File version: 1.1
@328gts
Thanks :)

@MickJT & kas1e
Why "cd.." but not "cd .."? Well, both are possible in the Windows world and the former is quicker to type, where as the latter works in Linux, IRC. Dunno about in Mac...

Maybe I'll check into the "cd .." as well in the future... :)
 
 
Comment by: 328gts (173.34.213.62)At: 12 May 2010, 22:50File version: 1.1
handy little script..thanks Marko :-)
 
 
Comment by: kas1e (78.36.129.120)At: 12 May 2010, 17:47File version: 1.1
@MickJT
I am with you. Only "cd .." (with space beetwen) make sense, but not cd.., which looks a bit unlogical and like one command. Not cd, and not path, but just "cd.." :)

@author
Will be good to have exactly "cd .." (if it possible for you of course).
 
 
Comment by: MickJT (202.161.30.192)At: 12 May 2010, 17:31File version: 1.1
I don't know of anyone that used or uses "cd..", only "cd .."
 
 
Comment by: marko (90.227.189.34)At: 10 May 2010, 15:59File version: 1.1
Yapp, I know the script is trivial and the comments are way bigger than the script itself (excluding the installs) ;)

Nevertheless cd.. is nice to have, I think :)
 
 
Comment by: Knug (87.227.61.67)At: 09 May 2010, 23:54File version: 1.1
I also need to have cd.. since days of msdos. But I never made a script for it, I just put "Alias cd.. cd /" (without ") in s:shell-startup.
 
 
Comment by: AmigaOneProductions (90.215.145.158)At: 09 May 2010, 20:22File version: 1.1
Why type cd.. which is 4 keypresses, when you can just type one i.e. "/"
The word CD is not required in AmigaDOS.

Of course you could make your cd.. script just one byte long by just having a "/" in it for the same reason (if you removed the comments).

Nice trick though :-)
 
 
Comment by: fanta (81.47.142.237)At: 09 May 2010, 04:41File version: 1.1
i need cd.. jajajaja. :D thx.
 
 

Copyright © 2004-2024 by Björn Hagström All Rights Reserved