txt

Linux commands and code snippets collection

  • Home
  • About

Tag Archives: copy

04 Jun

Move files from Folder 2 Levels Deep

Use this command to move files from folders two level deep to the current folder…


mv */*.* .
Binny V A Posted in Command Line, Linux command, copy, file, filler, folder, level, Linux, move, mv 1 Comment
30 Mar

Copy Files Using Samba

Download files from a host windows via smb


smbget -Rr smb://ip_addr/share
Binny V A Posted in Command Line, Linux command, copy, filler, Linux, network, samba, smb, windows Leave a comment
30 Jan

FTP Using Curl

Copy a file to a remote system using FTP with the Curl command…


curl -T filename.txt -u username:password ftp://example.cot/filename.txt

Original Article

Binny V A Posted in Command Line, Linux command, copy, curl, ftp, Linux, remote, server Leave a comment
26 Jan

SCP Copy from Remote to Local System

Copy files/folder from a remote server to this system.


scp -r binnyva@192.168.0.100:/home/binnyva/folder_to_copy . 
Binny V A Posted in Command Line, Linux copy, file, local, remote, rsync, scp, ssh Leave a comment
24 Jan

Copy Files using SCP

Copy files/folder to a remote server.


scp <file> binnyva@192.168.0.100:/home/binnyva/
scp -r <folder> binnyva@192.168.0.100:/home/binnyva/
Binny V A Posted in Command Line, Linux comand, copy, file, folder, Linux, remote, scp, ssh Leave a comment
18 May

Copy all Txt Files

Find and copy all files with ‘.txt’ extention from a directory to another


find /home/binnyva -name '*.txt' | xargs cp -av --target-directory=/home/backup/ --parents
Binny V A Posted in Command Line, Linux command, copy, file, find, Linux, tag, xargs Leave a comment
11 Mar

Copying a directory

Copying a directory


cp -a dir1 dir2 
Binny V A Posted in Command Line, Linux command, copy, cp, directory, folder, Linux Leave a comment
22 Oct

Some File Operation in SVN

Moving, Coping and Deletion


svn mv file.php to_folder/        #Move
svn cp file.php to_folder/         #Copy
svn rm file.php                          #Deletion
Binny V A Posted in Code, Command Line copy, cp, deletion, file, move, mv, rm, svn Leave a comment

Post navigation

Archives

  • October 2017
  • November 2015
  • August 2014
  • November 2013
  • August 2012
  • May 2012
  • March 2012
  • October 2011
  • August 2011
  • January 2011
  • October 2010
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007

Meta

  • Log in
Fruitful theme by fruitfulcode Powered by: WordPress
↑