- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 05:22 PM
10-30-2000 05:22 PM
tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 06:32 PM
10-30-2000 06:32 PM
Re: tar command
# ls -l | grep "Oct 30" | awk '{print $NF}' | tar -cvf [Tape Drive]
Anthony Wong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 09:30 PM
10-30-2000 09:30 PM
Re: tar command
You can try that...
sample))
# tar cvf - `ls -l | grep "Oct 30" | awk '{print $9}'` | dd of=/dev/rmt/0m bs=128k
"tar" can execute interprocess communication with only "dd".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2000 02:27 AM
10-31-2000 02:27 AM
Re: tar command
ls -l | grep "Oct 30" | awk '{print $NF}' | cpio -o > /dev/rmt/cxtxdx ( tape device)
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 04:55 AM
11-02-2000 04:55 AM
Re: tar command
find / -mtime 10 | xargs tar cvf /dev/rmt/xxxx
which will tar all files on your system
having been modified in exactly 10 days.
Use atime for files being accessed..
The disadvantage is that you have to compute
the number of days but this can easily be
done by a shell or perl script, allowing
to replace the fixed figure by a variable.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 05:24 AM
11-02-2000 05:24 AM
Re: tar command
if you already use Perl for the date conversion stuff I'd do the filesystem scour from within Perl as well, using Perl's standard File::Find module and define in two lines a callback sub reference.