search for: otherfile

Displaying 12 results from an estimated 12 matches for "otherfile".

2014 May 15
2
vi : unable to copy text to other file
Hello All, I'm trying to use vi commands instead of using the mouse. I open Gnome-Terminal I open a file : vi /home/jvermeulen/.ssh/id_dsa.pub I select the key with " V " ( visual line ) I type " y " to yank the selected line. I can now use :e otherfile.txt and paste the text in otherfile.txt This is the only way I succeed in copying text to another file in Gnome-Terminal of xterm. But how can I copy text to a file on a remote machine? Many thanks. -- Johan Vermeulen IT-medewerker Caw De Kempen johan.vermeulen at cawdekempen.be Powered by L...
2008 Dec 09
0
Accessing a file source from a custom function
I''d like to be able to generate the contents of a file resource based on the contents of another file resources. For example: File { "/tmp/myfile": source => "puppet:///mymodule/myfile", } File { "/tmp/otherfile": content =>generate_otherfile(File["/tmp/myfile"])), } in this case the generate_otherfile() function will use the resource reference passed to manipulate the contents of myfile to generate otherfile. My question are 1) whether or not it is possible to access the contents of...
2008 Nov 24
2
Understanding the docs
Ok, I''ve been reading and I have some questions about best practices: I understand that modules are to be self contained blocks that i can just drop in. Using best practices, how does this fit into the naming scheme? Classes are singletons. I think i understand this. I''ve been defining classes in /etc/puppet/classes, but then how does this relate to any modules i might want
2009 Nov 02
4
Incremental ReadLines
I've been trying to figure out how to read in a large file for a few days now, and after extensive research I'm still not sure what to do. I have a large comma delimited text file that contains 59 fields in each record. There is also a header every 121 records This function works well for smallish records getcsv=function(fname){ ff=file(description = fname) x <- readLines(ff)
2001 Mar 21
1
allowing full access to files
Joe Pfaltzgraff@PATAPSCO 03/21/2001 04:08 PM Here is the situation: /samba/users/personA/Phone.doc (0644) /samba/public/Phone.doc (symlink to above file) PersonB opens the Phone.doc in the public share with read-only access. PersonA wants to open the Phone.doc in their user area with full access in order to modify the file. However Word will only open the file read-only. When I check
2024 Aug 20
0
[Announce] Samba 4.21.0rc3 Available for Download
..."veto files" and "hide files" can optionally be restricted to certain users and groups. To apply a veto or hide directive to a filename for a specific user or group, a parametric option like this can be used: ?hide files : USERNAME = /somefile.txt/ ?veto files : GROUPNAME = /otherfile.txt/ For details consult the updated smb.conf manpage. Automatic keytab update after machine password change ----------------------------------------------------- When machine account password is updated, either by winbind doing regular updates or manually (e.g. net ads changetrustpw), now winbin...
2024 Aug 20
0
[Announce] Samba 4.21.0rc3 Available for Download
..."veto files" and "hide files" can optionally be restricted to certain users and groups. To apply a veto or hide directive to a filename for a specific user or group, a parametric option like this can be used: ?hide files : USERNAME = /somefile.txt/ ?veto files : GROUPNAME = /otherfile.txt/ For details consult the updated smb.conf manpage. Automatic keytab update after machine password change ----------------------------------------------------- When machine account password is updated, either by winbind doing regular updates or manually (e.g. net ads changetrustpw), now winbin...
2024 Aug 27
0
[Announce] Samba 4.21.0rc4 Available for Download
..."veto files" and "hide files" can optionally be restricted to certain users and groups. To apply a veto or hide directive to a filename for a specific user or group, a parametric option like this can be used: ?hide files : USERNAME = /somefile.txt/ ?veto files : GROUPNAME = /otherfile.txt/ For details consult the updated smb.conf manpage. Automatic keytab update after machine password change ----------------------------------------------------- When machine account password is updated, either by winbind doing regular updates or manually (e.g. net ads changetrustpw), now winbin...
2024 Aug 27
0
[Announce] Samba 4.21.0rc4 Available for Download
..."veto files" and "hide files" can optionally be restricted to certain users and groups. To apply a veto or hide directive to a filename for a specific user or group, a parametric option like this can be used: ?hide files : USERNAME = /somefile.txt/ ?veto files : GROUPNAME = /otherfile.txt/ For details consult the updated smb.conf manpage. Automatic keytab update after machine password change ----------------------------------------------------- When machine account password is updated, either by winbind doing regular updates or manually (e.g. net ads changetrustpw), now winbin...
2024 Sep 02
0
[Announce] Samba 4.21.0 Available for Download
..."veto files" and "hide files" can optionally be restricted to certain users and groups. To apply a veto or hide directive to a filename for a specific user or group, a parametric option like this can be used: ?hide files : USERNAME = /somefile.txt/ ?veto files : GROUPNAME = /otherfile.txt/ For details consult the updated smb.conf manpage. Automatic keytab update after machine password change ----------------------------------------------------- When machine account password is updated, either by winbind doing regular updates or manually (e.g. net ads changetrustpw), now winbin...
2024 Sep 02
0
[Announce] Samba 4.21.0 Available for Download
..."veto files" and "hide files" can optionally be restricted to certain users and groups. To apply a veto or hide directive to a filename for a specific user or group, a parametric option like this can be used: ?hide files : USERNAME = /somefile.txt/ ?veto files : GROUPNAME = /otherfile.txt/ For details consult the updated smb.conf manpage. Automatic keytab update after machine password change ----------------------------------------------------- When machine account password is updated, either by winbind doing regular updates or manually (e.g. net ads changetrustpw), now winbin...
2013 Jul 12
14
[LLVMdev] [Proposal] Parallelize post-IPO stage.
...: Fname(BaseName), Fpath(DirName), Keep(KeepFile) { + Fpath = Fpath + "/" + BaseName; + Keep = true; +} + +IPOFile::~IPOFile() { + if (Keep) + sys::fs::remove(Fpath); +} + +IPOFileMgr::IPOFileMgr(): WorkDir("llvmipo") { + IRFiles.reserve(20); + ObjFiles.reserve(20); + OtherFiles.reserve(8); + KeepFiles = true; + WorkDirCreated = false; +} + +IPOFileMgr::~IPOFileMgr() { + if (!KeepFiles) { + uint32_t NumRm; + sys::fs::remove_all(Twine(WorkDir), NumRm); + } +} + +bool IPOFileMgr::CreateWorkDir(std::string &ErrorInfo) { + if (WorkDirCreated) + return true;...