CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 19 Jul 2025 01:35:17 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090210084815
location: https://web.archive.org/web/20090210084815/https://examples.oreilly.com/upt2/split/dir_path
server-timing: captures_list;dur=0.662018, exclusion.robots;dur=0.022935, exclusion.robots.policy;dur=0.010187, esindex;dur=0.011759, cdx.remote;dur=13.388447, LoadShardBlock;dur=1387.176231, PetaboxLoader3.datanode;dur=1294.400113, PetaboxLoader3.resolve;dur=57.752775
x-app-server: wwwb-app219
x-ts: 302
x-tr: 1432
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app219; 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: Sat, 19 Jul 2025 01:35:18 GMT
content-type: text/plain
content-length: 492
x-archive-orig-date: Tue, 10 Feb 2009 08:48:15 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "fb3e1f-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: Tue, 10 Feb 2009 08:48:15 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="Sun, 18 May 2008 20:44:34 GMT", ; rel="memento"; datetime="Tue, 10 Feb 2009 08:48:15 GMT", ; rel="next memento"; datetime="Wed, 30 Sep 2015 16:39:32 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_8_20090210075601_crawl103-c/52_8_20090210084753_crawl100.arc.gz
server-timing: captures_list;dur=0.925124, exclusion.robots;dur=0.034180, exclusion.robots.policy;dur=0.014542, esindex;dur=0.020090, cdx.remote;dur=11.338372, LoadShardBlock;dur=220.250970, PetaboxLoader3.datanode;dur=93.018696, PetaboxLoader3.resolve;dur=198.392596, load_resource;dur=121.131334
x-app-server: wwwb-app219
x-ts: 200
x-tr: 381
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