CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 18 Jul 2025 11:23:40 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080518204434
location: https://web.archive.org/web/20080518204434/https://examples.oreilly.com/upt2/split/dir_path
server-timing: captures_list;dur=1.051633, exclusion.robots;dur=0.035090, exclusion.robots.policy;dur=0.013482, esindex;dur=0.014182, cdx.remote;dur=23.823658, LoadShardBlock;dur=1522.162793, PetaboxLoader3.resolve;dur=181.547550, PetaboxLoader3.datanode;dur=178.502806
x-app-server: wwwb-app224
x-ts: 302
x-tr: 1579
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app224; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 18 Jul 2025 11:23:41 GMT
content-type: text/plain
content-length: 492
x-archive-orig-date: Sun, 18 May 2008 20:44:32 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "54c3b0-1ec-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 492
x-archive-orig-connection: close
cache-control: max-age=1800
x-archive-guessed-content-type: text/plain
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 18 May 2008 20:44:34 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 19 Jun 2002 01:49:33 GMT", ; rel="prev memento"; datetime="Tue, 16 Oct 2007 16:13:27 GMT", ; rel="memento"; datetime="Sun, 18 May 2008 20:44:34 GMT", ; rel="next memento"; datetime="Tue, 10 Feb 2009 08:48:15 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 03:26:22 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_3_20080518193113_crawl107-c/52_3_20080518204242_crawl100.arc.gz
server-timing: captures_list;dur=1.250304, exclusion.robots;dur=0.040738, exclusion.robots.policy;dur=0.018444, esindex;dur=0.019915, cdx.remote;dur=56.738790, LoadShardBlock;dur=261.108493, PetaboxLoader3.datanode;dur=207.624644, PetaboxLoader3.resolve;dur=213.912265, load_resource;dur=287.883284
x-app-server: wwwb-app224
x-ts: 200
x-tr: 635
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
accept-ranges: bytes
#!/bin/sh
#
# usage: dir_path [directory ...]
# Find All Directories With the Same Name - list directory and path to directory
# (default to the argument . (current directory))
#
# You could also use this idea for finding duplicate files. Change
# the `-type d' to `-type f'.
#
# print in the format `base_directory_name full_directory_path'
find ${*-.} -type d -print | awk -F/ '
{
printf ("%s\t%s\n",$NF,$0);
}' | sort # sort to make similar directories adjacent in the output