---
title: "Discussion on \"Create a tar archive of backup_dir named backup.tar. (Verify using ls and tar -tf)\" | Hashnode"
description: "Discussion on \"Create a tar archive of backup_dir named backup.tar. (Verify using ls and tar -tf)\". Step 1: Create a Tar Archive of backup_dir\nbashCopyEdittar -cvf backup.tar backup_dir\n\n\nc → Create a new archive\n\nv → Verbose mode (shows files being archived)\n\nf → Specifies the filename (backup.tar)\n\n\n\nStep 2: Verify the Archive Using ls\nbashCopyEd..."
url: "https://hashnode.com/posts/create-a-tar-archive-of-backupdir-named-backuptar-verify-using-ls-and-tar-tf/67ea66de17e74e41ba8f9496"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Create a tar archive of backup\_dir named backup.tar. (Verify using ls and tar -tf)](https://cloudcomutingandnetworking.hashnode.dev/create-a-tar-archive-of-backupdir-named-backuptar-verify-using-ls-and-tar-tf?utm_source=hashnode&utm_medium=feed)

Step 1: Create a Tar Archive of backup\_dir bashCopyEdittar -cvf backup.tar backup\_dir c → Create a new archive v → Verbose mode (shows files being archived) f → Specifies the filename (backup.tar) Step 2: Verify the Archive Using ls bashCopyEd...

Mar 31, 2025 · 1 min read · cloudcomutingandnetworking.hashnode.dev  
Read the article

-   [#create-tar-file](https://hashnode.com/tag/create-tar-file)
-   [#tarfile](https://hashnode.com/tag/tarfile)

## Written by

[Ravi Vishwakarma](https://hashnode.com/@ravishwakarma)

@ravishwakarma

  
[View profile](https://hashnode.com/@ravishwakarma)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
