- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: files with the same name in a directory
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
03-12-2003 11:38 AM
03-12-2003 11:38 AM
files with the same name in a directory
I need that all versions del file have the same name how: "file1"
For read the old versions of the file i need use the same name, maybe with a flag or parameter that said the versions.
It is for a migration from Mainframe a Unix, and i have to simulate this "file versions" that work en the mainframe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 11:42 AM
03-12-2003 11:42 AM
Re: files with the same name in a directory
If that is the case, you could always have the same filename, let's say for example "file1" and have an extension tot he filename with the version number so you'd have a directory that would look like this
file1 (current version)
file1.001
file1.002
file1.003
...
that is possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 11:47 AM
03-12-2003 11:47 AM
Re: files with the same name in a directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 12:01 PM
03-12-2003 12:01 PM
Re: files with the same name in a directory
file1.datetime for the version number system
I come from a UNISYS that had a file version system probably like you had and this is what we used when we went to UNIX.
It is easy to sort the directory and pickup the last one by date time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:17 PM
03-12-2003 01:17 PM
Re: files with the same name in a directory
file1.001
file1.002
...
for the differents versions.
But, the developers of the migration ask me if only with the file name "file1" they can access to old versions.
I think that it isn`t posible.
What do you think?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:23 PM
03-12-2003 01:23 PM
Re: files with the same name in a directory
If your developers insist on keeping the same filename, then they will have to place the different versions in different directories. Such directories could even be subordinate to the "current" version:
For example:
/tmp/file1
/tmp/v1/file1
/tmp/v2/file1
/tmp/v3/file1
As already noted, the filename *must* be unique within a directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:49 PM
03-12-2003 01:49 PM
Re: files with the same name in a directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 01:53 PM
03-12-2003 01:53 PM
Re: files with the same name in a directory
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 05:36 PM
03-12-2003 05:36 PM
Re: files with the same name in a directory
Hp-ux has this command too.
Sccs command should create files whith the same name, i am trying of understand how work.
Somebody know how use sccs command?