Questions tagged [copy]

To copy is to create a duplicate of an object without destroying the original. Commonly seen in text editors that will let you copy some text and paste it somewhere else.

Filter by
Sorted by
Tagged with
-4 votes
0 answers
17 views

what is the command used to copy the file in linux system? [closed]

The command which is used in linux system to copy one directory of file to another directory of file is called as Copy Command. The command works only in linux Answer: cp command in linux also known ...
Kotrange Shivakumar's user avatar
0 votes
0 answers
20 views

How to copy files from host machine to Singularity container when the in-container directory does not exist

Environment: Ubuntu 22.04 server LTS Singularity 4.0.2 I'm trying to copy a file /home/host_user/.vnc/passwd from host machine to the Singularity container under directory/root/.vnc. The problem ...
zzzhhh's user avatar
  • 21
0 votes
1 answer
45 views

Script to copy google form data to new tab

I have no experience with scripts but found the following on here and it almost works for what I want. function onSubmit(e) { const range = e.range; const srcSheet = range.getSheet(); const ...
Matthew Boucher's user avatar
-1 votes
1 answer
47 views

Unable to redirect variable's value to file using ansible copy module [closed]

I have taken just a sample from a huge data that I wish to read from variables and dump in the file. cat junk.txt {:,:"(s):"}} This data in the junk is not in my control and comes as ...
Ashar's user avatar
  • 3,025
0 votes
0 answers
10 views

When checkbox is marked "TRUE" in the specific data row in sheet - all data of that specific row from A:AA are copied in "Data_base" sheet

The issue that specific row checkbox "TRUE" in different sheets (example "Data1", Data2", "Data3") could be in different row (example row 28, row 40, row 100, but ...
Justas Sinerparta's user avatar
1 vote
0 answers
4 views

I need help pasting formula and values to an existing script

I am hoping someone could make this script copy and paste formulas (not just values) from B3:B & Clear the values but not the formulas from B3:B? (B3:B below is a mixture of formulas and values). ...
1cub1's user avatar
  • 11
-1 votes
0 answers
16 views

Java clipboard setContents slow

Working with the Java clipboard, I’ve found that passing it a JavaFileList using setContents() can be extremely slow if the files are on a network volume. Under both Mac and Windows, setContents() ...
mstoreysmith's user avatar
0 votes
0 answers
21 views

Copy Last Row and Paste to new document

I have the below code to try and copy the last row of data when submitted from one worksheet and open and paste to a new worksheet on a new row. Everytime I run this it copies all the rows on the ...
CRichmond's user avatar
0 votes
0 answers
46 views

Copy value from every 7th cell down from sheet2 starting col H row 3 and paste it in sheet1 in each column (starting in B) on row 3 (left to right) [closed]

Sheet 1 | Column A | Column B | Column C | Column D | | -------- | -------- | -------- | -------- | | Label | Cell 2 | Cell 7 | Cell 14 | Sheet 2 | Column I | Column H | | -------- | -------- ...
Seantastic Sean's user avatar
-1 votes
1 answer
36 views

The fastest way to copy files from complex structure of directories

I have a structure o directories: "Z:/{year}/{id}/{month}/{day}/{hash}/*.jpg" In a python script, Which could be the fastest way to copy that structure to "C:/XD/{year}/{id}/{month}/{...
Torprendido's user avatar
0 votes
0 answers
51 views

List duplicate with = vs [:] in 3.11.4 vs 3.10 [duplicate]

When I am using VS Code or IDLE shell with Python 3.11.4 installed I can use either of the following to create a duplicate of a list so that alterations to the new list do not affect the original. new ...
kcgo's user avatar
  • 1
0 votes
1 answer
101 views

VBA copy data from workbook to another based on criteria

I have 2 workbooks, one source workbook with data spread over different sheets, and one target workbook where this data needs to be copied to, on one single sheet, right below each other. The copying ...
Tom's user avatar
  • 131
0 votes
0 answers
7 views

Implement node copy and paste feature in jsMind library

community, I am using the JsMind library as the mind-mapping tool for my React app. Everything was good and what is only left is the copy-and-paste feature for the nodes. This is the repo URL: https://...
Harsha's user avatar
  • 23
0 votes
0 answers
10 views

Cut and paste data to a new sheet based on List

So I've found the below code which is perfect for what I want to do but instead of just deleting the rows I want to change the code to either copy and paste to a different sheet (Blocked Holidays), ...
jai's user avatar
  • 1
0 votes
1 answer
80 views

Databricks dbutils.fs.cp

I am using dbutils.fs.cp(sourcefilepath,destinationfilepath) query to copy a file from one location to another from the azure storages.My source file path is /mnt/testing/StudentA/Test.csv and ...
Deepak Kumar's user avatar
0 votes
1 answer
31 views

VBA Copy Paste without formatting from another workbook

I have this code which helps me to copy paste information from one workbook to another. The values get pasted with format and formulas, but I want to paste them as simple text. I have tried to add the ...
Luis's user avatar
  • 61
0 votes
0 answers
47 views

Record types, memorry usage and copy operations

If I define a record in C# like public record Pair(int First, int Second); and I have a loop where I do Pair x = new(1, 2); while (...) { x = new(x.First + 1, x.Second + 1); } my IDE highlights ...
huzzm's user avatar
  • 547
-1 votes
0 answers
18 views

Typescript (Javascript) copy a formula to multipe Cells, Excel

Disclaimer, MS office install is Norwegian language pack which I suspect complicates scripting. Description: Copy a formula into row of cells without the formula auto-incrementing Background: I have a ...
LarsFromNorth's user avatar
1 vote
1 answer
58 views

Copy an existing file at runtime using a relative path

I have a method which saves data into a binary file. I'm trying to unit test this method. That's why I made myself a controller binary file with the data I'm supposed to save using my method. My ...
LPo's user avatar
  • 67
0 votes
0 answers
12 views

AngularJS How to enable copy&paste operations on Input element of type="date"?

I should let the user to copy and paste into <input type="date"> or <input type="datetime-local"> HTML part: <input type="date" id="dateId" ng-...
Sara's user avatar
  • 1
0 votes
0 answers
31 views

mkdir error : can not create directory ; file exists gitbash

#Please help me if you can I am working on a project where I need to run a program (script file) from github into git bash terminal. Whenever I tried to run the program, it shows mkdir error, says : ...
Erina Sharmin's user avatar
0 votes
1 answer
121 views

Copying CSV from adls to adls not working in adf pipeline

I want to copy the CSV files present in adlsfolder called source to another adls folder called destination through adf pipeline copy activity. 1st activity = GetMetadata to get all the files from the ...
Bindu's user avatar
  • 3
1 vote
0 answers
11 views

Copy data from one sheet to another sheet (in another file in different folder)

I want to copy the data (e.g. range A1: F15) from 'sheet1' of currrent sheet into 'sheet2' of file ABC (e.g. range C3: H17) which is located in a sub-folder 'sub-folder'. I know how to copy from one ...
Brian Ma's user avatar
0 votes
1 answer
44 views

Renaming files in the copy activity while copying from adls to adls

I have a adf pipeline which copies data from ssms tables to adls folder called stage. I have another pipeline which copies the files from adls stage to adls dest using copy activity But I want to ...
Bindu's user avatar
  • 3
0 votes
0 answers
27 views

Powershell dies during "copy-item" when using rightclick->open with but is fine when opening the path manual in powershell

i got a powershell script that copies alot of files from a path with some filters. The very odd behaviour: When I open the powershell script using: Rightclick->run with powershell (or doubleclick) ...
Steini's user avatar
  • 2,763
0 votes
1 answer
26 views

To to Edit > Copy the diagram generated by Mermaid when using the Mermaid plugin in IntelliJ IDE

I am using the Mermaid diagramming and charting tool to generate an ERD diagram. I access Mermaid within IntelliJ IDE through the Mermaid plugin provided by JetBrains. I am using the dual-pane mode, ...
Basil Bourque's user avatar
0 votes
0 answers
20 views

Copy data from one Chrome tab into another Chrome tab

I need to duplicate specific data from a web page in Chrome to another web page in Chrome. More specifically, I need to propagate simple text fields such as first name, last name, city, postal code, ...
KSM's user avatar
  • 31
0 votes
0 answers
53 views

How can I solve Pandas SettingWithCopyWarning error while trying to copy a value of a column to another if other have a given value?

I have a large dataframe, and I needed to create a new columns using a formula that works with 3 different columns and assign the value of 2nd column to the 3rd if the 1st column have a given value. ...
NiKiuS's user avatar
  • 1
-1 votes
1 answer
52 views

need help to copy only numbers from webpage Selenium Python

Elements in webpage <td style="font-size:20px;font-family:LucidaGrande,tahoma,verdana,arial,sans-serif;padding:10px;background-color:#f2f2f2;border-left:1px solid #ccc;border-right:1px solid #...
joker egy's user avatar
0 votes
0 answers
24 views

Unable to copy directories from remote to ansible host without synchronize module

I do not have ansible's synchronize module and wish not to use it. I want to get files & directories from the remote host which is source_host onto my ansible host. I was able to get files using ...
Ashar's user avatar
  • 3,025
0 votes
1 answer
68 views

Copying files from one folder to multiple other folders (all within one main folder) based on file name

I'm relatively new to python and although I can understand code (for the most part), I have trouble with starting to write code, so any help is appreciated. This is also my first time posting on ...
Teodora's user avatar
0 votes
0 answers
23 views

why robocopy keep show modified file when i copy it must show old or new how i change modified file

I use robocopy to copy between 2 directories and I use the following: robocopy #src #dest /E /IS /IT /IM /DCOPY:DAT /NJH /NDL /NP /XX /XO /L /MT:16 The comparison must show me whether the file is old ...
mohammed baabbad's user avatar
0 votes
2 answers
48 views

Copy to Clipboard using JavaScript: Multiple Input Values, but one Function?

I'm trying to create a small (local) page that allows me to copy frequently used texts to the clipboard by clicking on a button. My code (see below) works so far. Now my question: Is there a way to ...
Oberlump's user avatar
0 votes
0 answers
7 views

This text was copied from site x message - Wordpress

Anybody knows how can I make when someone copy text from website x to show at the end of copied text the message - this text was copied from www.website.com ? Thanks! Haven't tried nothing at this ...
RCI's user avatar
  • 11
0 votes
0 answers
9 views

I try to copy and paste result range

' INPUT BOX Dim x As Integer Dim inp As String Dim curcount As Integer Dim performer As String Dim projn As String Dim cons As String projnumber = Application.InputBox("enter project number",...
user22528708's user avatar
-2 votes
1 answer
31 views

Need latest timestamp on destination file if the source file is identical using ansible copy module

Is it possible to reflect the latest timestamp of the copy if the source and destination files are identical? Timestamp before copy for destination and source: destination: [wluser@myhost7 ~]$ ls -ltr ...
Ashar's user avatar
  • 3,025
0 votes
0 answers
32 views

How to copy Files from one directory to another(using DGV) C#

I am working on a program that creates folder templates, and populates them with files the user picks using a OpenFileDialog. The user fills out a text field, and a drop down menu (populated by ...
Jfisher387's user avatar
-1 votes
2 answers
32 views

Why are these codes working differently in Python for loop list

I'm a beginner in coding but sometimes need to do it. I want to make code that element is picked out temporarily in the list. For example [1,2,3,4] >> [2,3,4] [1,3,4] [1,2,4] [1,2,3] like above ...
Shumagel's user avatar
0 votes
2 answers
31 views

I'm trying to add a fixed value in the method copy

I'm trying to add a fixed value in the method copy. There is a csv file, but in addition to the data from it, I want to add a fixed value to the table. In vertica there is column‑as‑expression. create ...
Luice712's user avatar
0 votes
2 answers
34 views

Copying a home address to the users clipboard

I have an address written over multiple lines with paragraphs: <p>Address line 1</p> <p>Address line 2</p> <p>Address line 3</p> <p>County</p> <p>...
Antony's user avatar
  • 9
0 votes
0 answers
54 views

Async folder copy with progress bar

I searched on net and have found c# code to copy file async with progress bar which is working perfectly. Now I am trying to copy a folder having multiple files. I have added an extra progress bar, ...
Minesh's user avatar
  • 1
0 votes
2 answers
71 views

Why does this while loop not work as intended in C

Im trying to write a program which copies the contents of a file and then puts the contents in another file. My Code works but just copies one character. I think my while loop is wrong and I do not ...
dthnick's user avatar
0 votes
1 answer
68 views

Bash script for multiple copy 1 file and rename to new name

I want to create bash script for make multiple copy of 1 file in source directory to Destination directory and rename it with specific running number based on my config file. example :Source directory ...
Miss aya's user avatar
1 vote
1 answer
49 views

How Can I Set Up Multiple Copy Link Buttons on the Same Page?

I have been dealing with this for about 2 weeks now. Summary: This is related to copying a link within a page. I know how to do it using CTRL-C to copy, but I want to offer a button that users can ...
EddieK's user avatar
  • 35
0 votes
1 answer
30 views

How do I copy certain cells from one sheet to another conditional on the cell value in both sheets?

I have a range of non-contiguous cells that I want to copy across from one sheet (wseDNA1) to a second sheet (wsElog1). I only want to copy if the value in wseDNA1 is not "NR", and if the ...
Kim Woods's user avatar
0 votes
1 answer
25 views

AppleScript to copy PowerPoint slide from one presentation to another

I've got a PowerPoint file with a single slide and my goal is to copy that one slide into a different PowerPoint file. Using macOS Sonoma 14.0 with Microsoft Office 365 PowerPoint 16.78 (late 2023) I'...
robmandu's user avatar
  • 193
0 votes
0 answers
9 views

Save clipboard's contents as file and return the data to the clipboard later? Different types of copied objects

How can I store buffer/clipboard data from CMD+C as some kind of object or write the contents to txt file to return it later to buffer/clipboard to use CMD+V. The data might be always different like ...
Eugene's user avatar
  • 57
0 votes
1 answer
72 views

Every time I reference a newly created workbook, Excel creates another

I'm trying to do what should be very simple. Copy data from one sheet in an existing workbook, create a new workbook, paste that new data there, and then save and close the new workbook. However, ...
Josh Frankel's user avatar
0 votes
1 answer
26 views

Paste Chart and Table from excel to existing word document into a specific part of the document

I am using the below VBA code to copy and paste a table and a chart from an excel spreadsheet to a template word document. When I run the below macro the chart and table are pasted at the top of the ...
Michael's user avatar
0 votes
1 answer
37 views

How to automatically copy to a specific physical usb port

Hi so I am wondering if there is a way to copy files to any usb connected without a idv nor idp, Also I am wondering if there is a way to assign the above only to a specific usb port so that other ...
moshe's user avatar
  • 1

1
2 3 4 5
227