|
From: | Peng Yu |
Subject: | How to trim a path and just leave last n levels? |
Date: | Tue, 14 Apr 2020 09:22:17 -0500 |
Hi, basename just leaves the last level in a path. Is there a good way to leave the last two levels or the last n levels of a path? Thanks. -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |