Reputation
254
Top tag
Next privilege 300 Rep.
Create new tags
Badges
4 19
Impact
~26k people reached

  • 0 posts edited
  • 0 helpful flags
  • 5 votes cast
Jul
1
awarded  Self-Learner
Mar
27
awarded  Notable Question
Dec
4
awarded  Popular Question
Nov
24
awarded  Caucus
Jul
2
awarded  Curious
May
2
awarded  Notable Question
Sep
23
awarded  Popular Question
Jul
25
awarded  Popular Question
May
14
awarded  Popular Question
Mar
12
awarded  Popular Question
Jan
8
awarded  Popular Question
Sep
14
awarded  Popular Question
Jun
14
awarded  Notable Question
Feb
20
awarded  Yearling
Jul
16
awarded  Popular Question
May
10
awarded  Critic
Mar
30
accepted Tar directory contents without parent and exclude subdirectories/files
Mar
28
answered Tar directory contents without parent and exclude subdirectories/files
Mar
28
comment Tar directory contents without parent and exclude subdirectories/files
Of course the other issue (my fault for not putting this in the original question) would be that I may want to exclude subsubdirectories such as /root/test1/test12 etc, complicating this even further.
Mar
28
comment Tar directory contents without parent and exclude subdirectories/files
It is a possibility. I'm just going to see if there's a neater solution to this using simply the tar command before going down this road. It just seems somewhat long winded for something which I would have thought was easy.