Instruction
stringlengths
13
387
Response
stringlengths
1
532
Text
stringlengths
158
1.06k
Archive "_vim/" to "~/.vim" suppressing non-error messages and compressing data during transmission
rsync -aqz _vim/ ~/.vim
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "_vim/" to "~/.vim" suppressing non-error messages and compressing data during transmission ### Response: rsync -aqz _vim/ ~/.vim
Archive "_vimrc" to "~/.vimrc" suppressing non-error messages and compressing data during transmission
rsync -aqz _vimrc ~/.vimrc
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "_vimrc" to "~/.vimrc" suppressing non-error messages and compressing data during transmission ### Response: rsync -aqz _vimrc ~/.vimrc
Archive "blanktest/" to "test/" deleting any files in the destination not found in the source
rsync -a --delete blanktest/ test/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "blanktest/" to "test/" deleting any files in the destination not found in the source ### Response: rsync -a --delete blanktest/ test/
Archive "directory" preserving hard links from host "remote" to the current local directory and keep partial files, handle sparse files efficiently, and itemize changes made
rsync -aPSHiv remote:directory .
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "directory" preserving hard links from host "remote" to the current local directory and keep partial files, handle sparse files efficiently, and itemize changes made ### Response: rsync -aPSHiv remote:directory .
Archive "fileToCopy" to "/some/nonExisting/dirToCopyTO" on host "ssh.myhost.net" via ssh
rsync -ave ssh fileToCopy ssh.myhost.net:/some/nonExisting/dirToCopyTO
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "fileToCopy" to "/some/nonExisting/dirToCopyTO" on host "ssh.myhost.net" via ssh ### Response: rsync -ave ssh fileToCopy ssh.myhost.net:/some/nonExisting/dirToCopyTO
Archive "foo/bar/baz.c" to "remote:/tmp/" preserving the relative path of "foo/bar/baz.c"
rsync -avR foo/bar/baz.c remote:/tmp/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "foo/bar/baz.c" to "remote:/tmp/" preserving the relative path of "foo/bar/baz.c" ### Response: rsync -avR foo/bar/baz.c remote:/tmp/
Archive "myfile" to "/foo/bar/" and create directory "/foo/bar/" if "/foo/" exists
rsync -a myfile /foo/bar/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "myfile" to "/foo/bar/" and create directory "/foo/bar/" if "/foo/" exists ### Response: rsync -a myfile /foo/bar/
Archive "path/subfolder" to "path", skipping files that are newer at the destination.
rsync -vuar --delete-after path/subfolder/ path/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "path/subfolder" to "path", skipping files that are newer at the destination. ### Response: rsync -vuar --delete-after path/subfolder/ path/
Archive "path/to/working/copy" to "path/to/export" excluding files or directories named ".svn"
rsync -a --exclude .svn path/to/working/copy path/to/export
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "path/to/working/copy" to "path/to/export" excluding files or directories named ".svn" ### Response: rsync -a --exclude .svn path/to/working/copy path/to/export
Archive "somedir/./foo/bar/baz.c" to "remote:/tmp/" preserving the relative path of "foo/bar/baz.c"
rsync -avR somedir/./foo/bar/baz.c remote:/tmp/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "somedir/./foo/bar/baz.c" to "remote:/tmp/" preserving the relative path of "foo/bar/baz.c" ### Response: rsync -avR somedir/./foo/bar/baz.c remote:/tmp/
Archive "source" to "destination" via ssh on port "PORT_NUMBER"
rsync -azP -e "ssh -p PORT_NUMBER" source destination
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "source" to "destination" via ssh on port "PORT_NUMBER" ### Response: rsync -azP -e "ssh -p PORT_NUMBER" source destination
Archive "src" to "dst" updating files existing in "dst"
rsync -a -v src dst
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "src" to "dst" updating files existing in "dst" ### Response: rsync -a -v src dst
Archive "src" to "dst" without overwriting existing files in "dst"
rsync -a -v --ignore-existing src dst
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "src" to "dst" without overwriting existing files in "dst" ### Response: rsync -a -v --ignore-existing src dst
Archive "src-dir" to "dest-dir" on "remote-user@remote-host" and delete any files in "dest-dir" not found in "src-dir"
rsync -av --delete src-dir remote-user@remote-host:dest-dir
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "src-dir" to "dest-dir" on "remote-user@remote-host" and delete any files in "dest-dir" not found in "src-dir" ### Response: rsync -av --delete src-dir remote-user@remote-host:dest-dir
Archive "src/bar" on host "foo" to local directory "/data/tmp"
rsync -avz foo:src/bar /data/tmp
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive "src/bar" on host "foo" to local directory "/data/tmp" ### Response: rsync -avz foo:src/bar /data/tmp
Archive all ".txt" files in the current directory to "/path/to/dest" keeping partially transferred files
rsync -aP --include=*/ --include=*.txt --exclude=* . /path/to/dest
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all ".txt" files in the current directory to "/path/to/dest" keeping partially transferred files ### Response: rsync -aP --include=*/ --include=*.txt --exclude=* . /path/to/dest
Archive all *.xml files under current directory tree to xml.tar excluding the files that match '/workspace/' in their paths
find . -name \*.xml | grep -v /workspace/ | tr '\n' '\0' | xargs -0 tar -cf xml.tar
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all *.xml files under current directory tree to xml.tar excluding the files that match '/workspace/' in their paths ### Response: find . -name \*.xml | grep -v /workspace/ | tr '\n' '\0' | xargs -0 tar -cf xml.tar
Archive all *html files using tar.
find . -type f -name "*html" | xargs tar cvf htmlfiles.tar -
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all *html files using tar. ### Response: find . -type f -name "*html" | xargs tar cvf htmlfiles.tar -
Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension
find /path/to/directory/* -maxdepth 0 -type d -printf "%P\n" -exec sudo tar -zcpvf {}.tar.gz {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension ### Response: find /path/to/directory/* -maxdepth 0 -type d -printf "%P\n" -exec sudo tar -zcpvf {}.tar.gz {} \;
Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension transforming the full paths to relative paths
find /path/* -maxdepth 0 -type d -exec sudo tar -zcpvf {}.tar.gz {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all directories in /path/to/directory/* (only command line arguments, no sub-directories) to files with .tar.gz extension transforming the full paths to relative paths ### Response: find /path/* -maxdepth 0 -type d -exec sudo tar -zcpvf {}.tar.gz {} \;
Archive all filepattern-*2009* files/directories under data/ into 2009.tar
find data/ -name 'filepattern-*2009*' -exec tar uf 2009.tar '{}' +
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all filepattern-*2009* files/directories under data/ into 2009.tar ### Response: find data/ -name 'filepattern-*2009*' -exec tar uf 2009.tar '{}' +
Archive all filepattern-*2009* files/directories under data/ into 2009.tar
find data/ -name filepattern-*2009* -exec tar uf 2009.tar {} ;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all filepattern-*2009* files/directories under data/ into 2009.tar ### Response: find data/ -name filepattern-*2009* -exec tar uf 2009.tar {} ;
Archive all filepattern-*2009* files/directories under data/ into 2009.tar
find data/ -name filepattern-*2009* -print0 | xargs -0 tar uf 2009.tar
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all filepattern-*2009* files/directories under data/ into 2009.tar ### Response: find data/ -name filepattern-*2009* -print0 | xargs -0 tar uf 2009.tar
Archive all files (not directories) in "folder1" to "copy_of_folder1" specifying to include files info.txt and data.zip
rsync -a -f"+ info.txt" -f"+ data.zip" -f'-! */' folder1/ copy_of_folder1/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all files (not directories) in "folder1" to "copy_of_folder1" specifying to include files info.txt and data.zip ### Response: rsync -a -f"+ info.txt" -f"+ data.zip" -f'-! */' folder1/ copy_of_folder1/
Archive all files beginning with .env or .bash in current directory to user's home directory on host "app1", preserving timestamps and skipping files that are newer on "app1"
rsync -vaut ~/.env* ~/.bash* app1:
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all files beginning with .env or .bash in current directory to user's home directory on host "app1", preserving timestamps and skipping files that are newer on "app1" ### Response: rsync -vaut ~/.env* ~/.bash* app1:
Archive all files specified on standard input under "/path/to/files" to "/path" on host "targethost" as user "user" with escalated privileges
rsync -av --files-from=- --rsync-path="sudo rsync" /path/to/files user@targethost:/path
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive all files specified on standard input under "/path/to/files" to "/path" on host "targethost" as user "user" with escalated privileges ### Response: rsync -av --files-from=- --rsync-path="sudo rsync" /path/to/files user@targethost:/path
Archive any files changed in the last day from "remote_host" to "local_dir"
rsync -av remote_host:'$(find logs -type f -ctime -1)' local_dir
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive any files changed in the last day from "remote_host" to "local_dir" ### Response: rsync -av remote_host:'$(find logs -type f -ctime -1)' local_dir
Archive current directory to "/some/path" on localhost, using ssh to authentify as user "me", only update files that are newer in the source directory.
rsync -auve "ssh -p 2222" . me@localhost:/some/path
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive current directory to "/some/path" on localhost, using ssh to authentify as user "me", only update files that are newer in the source directory. ### Response: rsync -auve "ssh -p 2222" . me@localhost:/some/path
Archive directory "." to "server2::sharename/B"
rsync -av . server2::sharename/B
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive directory "." to "server2::sharename/B" ### Response: rsync -av . server2::sharename/B
Archive directory "/mnt/data" to "/media/WD_Disk_1/current_working_data/", deleting any extraneous files in destination, compress data during copy.
rsync -az --delete /mnt/data/ /media/WD_Disk_1/current_working_data/;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive directory "/mnt/data" to "/media/WD_Disk_1/current_working_data/", deleting any extraneous files in destination, compress data during copy. ### Response: rsync -az --delete /mnt/data/ /media/WD_Disk_1/current_working_data/;
Archive directory "symdir" to "symdir_output" preserving symbolic links.
rsync symdir/ symdir_output/ -a --copy-links -v
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive directory "symdir" to "symdir_output" preserving symbolic links. ### Response: rsync symdir/ symdir_output/ -a --copy-links -v
Archive directory "tata" to directory "tata2", compressing data during copy.
rsync -avz tata/ tata2/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive directory "tata" to directory "tata2", compressing data during copy. ### Response: rsync -avz tata/ tata2/
Archive directory specified by variable "i" to "/iscsi" preserving relative paths.
rsync -avR $i /iscsi;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive directory specified by variable "i" to "/iscsi" preserving relative paths. ### Response: rsync -avR $i /iscsi;
Archive directory specified by variable "myFolder" to current directory.
rsync -av $myFolder .
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive directory specified by variable "myFolder" to current directory. ### Response: rsync -av $myFolder .
Archive file 'file' with bzip2 tool, store compressed data to a file 'logfile' and also print to screen
bzip2 -c file | tee -a logfile
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive file 'file' with bzip2 tool, store compressed data to a file 'logfile' and also print to screen ### Response: bzip2 -c file | tee -a logfile
Archive files (not directories) in "sorce_dir" to "target_dir"
rsync -a --filter="-! */" sorce_dir/ target_dir/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive files (not directories) in "sorce_dir" to "target_dir" ### Response: rsync -a --filter="-! */" sorce_dir/ target_dir/
Archive files in "/mnt/source-tmp" to "/media/destination"
rsync -a /mnt/source-tmp /media/destination/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive files in "/mnt/source-tmp" to "/media/destination" ### Response: rsync -a /mnt/source-tmp /media/destination/
Archive preserving permissions and ownership files in "/var/www/" on host "user@10.1.1.2" to local "/var/www/"
sudo rsync -az user@10.1.1.2:/var/www/ /var/www/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive preserving permissions and ownership files in "/var/www/" on host "user@10.1.1.2" to local "/var/www/" ### Response: sudo rsync -az user@10.1.1.2:/var/www/ /var/www/
Archive showing progress "sourcefolder" to "/destinationfolder" excluding "thefoldertoexclude"
rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive showing progress "sourcefolder" to "/destinationfolder" excluding "thefoldertoexclude" ### Response: rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude
Archive showing progress all files in "/media/2TB\ Data/data/music/" to "/media/wd/network_sync/music/" excluding files matching "*.VOB", "*.avi", "*.mkv", "*.ts", "*.mpg", "*.iso", "*ar", "*.vob", "*.BUP", "*.cdi", "*.ISO", "*.shn", "*.MPG", "*.AVI", "*.DAT", "*.img", "*.nrg", "*.cdr", "*.bin", "*.MOV", "*.goutputs*", "*.flv", "*.mov", "*.m2ts", "*.cdg", "*.IFO", "*.asf", and "*.ite"
rsync -av --progress --exclude=*.VOB --exclude=*.avi --exclude=*.mkv --exclude=*.ts --exclude=*.mpg --exclude=*.iso --exclude=*ar --exclude=*.vob --exclude=*.BUP --exclude=*.cdi --exclude=*.ISO --exclude=*.shn --exclude=*.MPG --exclude=*.AVI --exclude=*.DAT --exclude=*.img --exclude=*.nrg --exclude=*.cdr --exclude=*.bin --exclude=*.MOV --exclude=*.goutputs* --exclude=*.flv --exclude=*.mov --exclude=*.m2ts --exclude=*.cdg --exclude=*.IFO --exclude=*.asf --exclude=*.ite /media/2TB\ Data/data/music/* /media/wd/network_sync/music/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive showing progress all files in "/media/2TB\ Data/data/music/" to "/media/wd/network_sync/music/" excluding files matching "*.VOB", "*.avi", "*.mkv", "*.ts", "*.mpg", "*.iso", "*ar", "*.vob", "*.BUP", "*.cdi", "*.ISO", "*.shn", "*.MPG", "*.AVI", "*.DAT", "*.img", "*.nrg", "*.cdr", "*.bin", "*.MOV", "*.goutputs*", "*.flv", "*.mov", "*.m2ts", "*.cdg", "*.IFO", "*.asf", and "*.ite" ### Response: rsync -av --progress --exclude=*.VOB --exclude=*.avi --exclude=*.mkv --exclude=*.ts --exclude=*.mpg --exclude=*.iso --exclude=*ar --exclude=*.vob --exclude=*.BUP --exclude=*.cdi --exclude=*.ISO --exclude=*.shn --exclude=*.MPG --exclude=*.AVI --exclude=*.DAT --exclude=*.img --exclude=*.nrg --exclude=*.cdr --exclude=*.bin --exclude=*.MOV --exclude=*.goutputs* --exclude=*.flv --exclude=*.mov --exclude=*.m2ts --exclude=*.cdg --exclude=*.IFO --exclude=*.asf --exclude=*.ite /media/2TB\ Data/data/music/* /media/wd/network_sync/music/
Archive the entire file system into tarfile.tar.bz2
find / -print0 | xargs -0 tar cjf tarfile.tar.bz2
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive the entire file system into tarfile.tar.bz2 ### Response: find / -print0 | xargs -0 tar cjf tarfile.tar.bz2
Archive the list of 1st level subdirectories in /fss/fin to /fss/fi/outfile.tar.gz
tar -czf /fss/fi/outfile.tar.gz `find /fss/fin -d 1 -type d -name "*" -print`
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Archive the list of 1st level subdirectories in /fss/fin to /fss/fi/outfile.tar.gz ### Response: tar -czf /fss/fi/outfile.tar.gz `find /fss/fin -d 1 -type d -name "*" -print`
As root, edit the cron job list of user "apache" using the editor specified by EDITOR environment variable, or default /usr/bin/editor if this variable is not set.
sudo crontab -e -u apache
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: As root, edit the cron job list of user "apache" using the editor specified by EDITOR environment variable, or default /usr/bin/editor if this variable is not set. ### Response: sudo crontab -e -u apache
Assign permissions 644 to files in the current directory tree
find . -type f -print0 | xargs -0 chmod 644
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Assign permissions 644 to files in the current directory tree ### Response: find . -type f -print0 | xargs -0 chmod 644
Assign permissions 755 to directories in the current directory tree
find . -type d -print0 | xargs -0 chmod 755
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Assign permissions 755 to directories in the current directory tree ### Response: find . -type d -print0 | xargs -0 chmod 755
Assigns MAC address 00:80:48:BA:d1:30 to interface eth0.
ifconfig eth0 hw ether 00:80:48:BA:d1:30
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Assigns MAC address 00:80:48:BA:d1:30 to interface eth0. ### Response: ifconfig eth0 hw ether 00:80:48:BA:d1:30
Attempt to connect as root to localhost and copy /home/reportuser/dailyReport.doc to directory /root/dailyReports/20150105/ - this will normally fail because ssh won't accept root connections by default.
scp -p /home/reportuser/dailyReport.doc root@localhost:/root/dailyReports/20150105/
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Attempt to connect as root to localhost and copy /home/reportuser/dailyReport.doc to directory /root/dailyReports/20150105/ - this will normally fail because ssh won't accept root connections by default. ### Response: scp -p /home/reportuser/dailyReport.doc root@localhost:/root/dailyReports/20150105/
Attempt to connect as root via ssh to host "IP" and copy /root/K to local machine, passing option "StrictHostKeyChecking=no" to the ssh backend - this will normally fail because ssh servers by default don't (and shouldn't) accept root logins.
scp -o StrictHostKeyChecking=no root@IP:/root/K
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Attempt to connect as root via ssh to host "IP" and copy /root/K to local machine, passing option "StrictHostKeyChecking=no" to the ssh backend - this will normally fail because ssh servers by default don't (and shouldn't) accept root logins. ### Response: scp -o StrictHostKeyChecking=no root@IP:/root/K
Attempt to connect as root via ssh to host whose IP address or hostname is specified by environment variable IPADDRESS - this will normally fail because ssh servers normally don't accept root logins.
scp -rp "DAILY_TEST_FOLDER" "root@${IPADDRESS}:/home/root/"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Attempt to connect as root via ssh to host whose IP address or hostname is specified by environment variable IPADDRESS - this will normally fail because ssh servers normally don't accept root logins. ### Response: scp -rp "DAILY_TEST_FOLDER" "root@${IPADDRESS}:/home/root/"
Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory
find /etc -name "*.txt" | xargs -I {} mv {} {}.bak
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory ### Response: find /etc -name "*.txt" | xargs -I {} mv {} {}.bak
Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory
find /etc -print0 -name "*.txt" | xargs -I {} -0 mv {} {}.bak
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Back up all *.txt files/directories in new files/directories with a .bak extension in their names under /etc directory ### Response: find /etc -print0 -name "*.txt" | xargs -I {} -0 mv {} {}.bak
Backup all PHP files under the current directory tree
find -name "*.php" –exec cp {} {}.bak \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Backup all PHP files under the current directory tree ### Response: find -name "*.php" –exec cp {} {}.bak \;
Backup all of the Java files in the current directory tree by copying them and appending the suffix .bk to each
find . -name "*.java" -exec cp {} {}.bk \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Backup all of the Java files in the current directory tree by copying them and appending the suffix .bk to each ### Response: find . -name "*.java" -exec cp {} {}.bk \;
Brings down network interface eth0.
ifconfig eth0 down
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Brings down network interface eth0. ### Response: ifconfig eth0 down
Build an "svn hotcopy" command for each subdirectory of /usr/local/svn/repos/
find /usr/local/svn/repos/ -maxdepth 1 -mindepth 1 -type d -printf "%f\0" | xargs -0 -I{} echo svnadmin hotcopy /usr/local/svn/repos/\{\} /usr/local/backup/\{\}
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Build an "svn hotcopy" command for each subdirectory of /usr/local/svn/repos/ ### Response: find /usr/local/svn/repos/ -maxdepth 1 -mindepth 1 -type d -printf "%f\0" | xargs -0 -I{} echo svnadmin hotcopy /usr/local/svn/repos/\{\} /usr/local/backup/\{\}
Calculate a list of duplicate md5 sum hashes for all the ".java" files in the current directory
md5sum *.java | awk '{print $1}' | sort | uniq -d
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate a list of duplicate md5 sum hashes for all the ".java" files in the current directory ### Response: md5sum *.java | awk '{print $1}' | sort | uniq -d
Calculate and show md5 sums for every files under current directory tree
find . -type f -exec md5sum \{\} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate and show md5 sums for every files under current directory tree ### Response: find . -type f -exec md5sum \{\} \;
Calculate and show md5 sums for every files under current directory tree
find . | xargs md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate and show md5 sums for every files under current directory tree ### Response: find . | xargs md5sum
Calculate md5 checksum of $KEY, take the 1st to 10th character, append them with the string '/tmp/command_cache.' and save the rsultant string to variable FILE
FILE="/tmp/command_cache.`echo -n "$KEY" | md5sum | cut -c -10`"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 checksum of $KEY, take the 1st to 10th character, append them with the string '/tmp/command_cache.' and save the rsultant string to variable FILE ### Response: FILE="/tmp/command_cache.`echo -n "$KEY" | md5sum | cut -c -10`"
Calculate md5 checksum of $line and save to variable 'md5'
md5=$(echo "$line"|md5sum)
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 checksum of $line and save to variable 'md5' ### Response: md5=$(echo "$line"|md5sum)
Calculate md5 checksum of '/etc/localtime' and save the first space separated part in variable 'checksum'
checksum=`md5sum /etc/localtime | cut -d' ' -f1`
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 checksum of '/etc/localtime' and save the first space separated part in variable 'checksum' ### Response: checksum=`md5sum /etc/localtime | cut -d' ' -f1`
Calculate md5 checksum of the list of all files/dirs in /path recursively including dot files and excluding the patterns 'run', 'sys', 'tmp' and 'proc', then check the checksum against the checksum saved in /tmp/file
ls -alR -I dev -I run -I sys -I tmp -I proc /path | md5sum -c /tmp/file
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 checksum of the list of all files/dirs in /path recursively including dot files and excluding the patterns 'run', 'sys', 'tmp' and 'proc', then check the checksum against the checksum saved in /tmp/file ### Response: ls -alR -I dev -I run -I sys -I tmp -I proc /path | md5sum -c /tmp/file
Calculate md5 checksum of theDirname
cpio -i -e theDirname | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 checksum of theDirname ### Response: cpio -i -e theDirname | md5sum
Calculate md5 sum of empty string
echo -n "" | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of empty string ### Response: echo -n "" | md5sum
Calculate md5 sum of empty string
echo -n | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of empty string ### Response: echo -n | md5sum
Calculate md5 sum of file $ecriv
md5sum "$ecriv"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of file $ecriv ### Response: md5sum "$ecriv"
Calculate md5 sum of file $item and save it to variable 'md5'
md5=$(md5sum $item | cut -f1 -d\ )
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of file $item and save it to variable 'md5' ### Response: md5=$(md5sum $item | cut -f1 -d\ )
Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5'
md5="$(md5sum "${my_iso_file}")"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5' ### Response: md5="$(md5sum "${my_iso_file}")"
Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5'
md5=`md5sum ${my_iso_file} | cut -b-32`
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of file ${my_iso_file} and save it to variable 'md5' ### Response: md5=`md5sum ${my_iso_file} | cut -b-32`
Calculate md5 sum of files $source_file and $dest_file
md5sum "$source_file" "$dest_file"
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of files $source_file and $dest_file ### Response: md5sum "$source_file" "$dest_file"
Calculate md5 sum of the md5 sum of all the sorted files under $path
find "$path" -type f -print0 | sort -z | xargs -r0 md5sum | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sum of the md5 sum of all the sorted files under $path ### Response: find "$path" -type f -print0 | sort -z | xargs -r0 md5sum | md5sum
Calculate md5 sums for each files matching 'main.cpp*'
md5sum main.cpp*
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate md5 sums for each files matching 'main.cpp*' ### Response: md5sum main.cpp*
Calculate the md5 checksum of the current directory structure and save it in variable SUM
SUM=$(tree | md5sum)
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 checksum of the current directory structure and save it in variable SUM ### Response: SUM=$(tree | md5sum)
Calculate the md5 sum of "a"
echo "a" | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of "a" ### Response: echo "a" | md5sum
Calculate the md5 sum of "exampleString"
echo -n 'exampleString' | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of "exampleString" ### Response: echo -n 'exampleString' | md5sum
Calculate the md5 sum of "logdir" and print only the hash
echo -n "logdir" | md5sum - | awk '{print $1}'
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of "logdir" and print only the hash ### Response: echo -n "logdir" | md5sum - | awk '{print $1}'
Calculate the md5 sum of "password"
echo "password" | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of "password" ### Response: echo "password" | md5sum
Calculate the md5 sum of "yourstring"
echo -n "yourstring" |md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of "yourstring" ### Response: echo -n "yourstring" |md5sum
Calculate the md5 sum of all ".py" files in "/your/dir" including content and filenames
grep -ar -e . --include="*.py" /your/dir | md5sum | cut -c-32
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all ".py" files in "/your/dir" including content and filenames ### Response: grep -ar -e . --include="*.py" /your/dir | md5sum | cut -c-32
Calculate the md5 sum of all *.py files in the current directory
cat *.py | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all *.py files in the current directory ### Response: cat *.py | md5sum
Calculate the md5 sum of all files in "/your/dir" including content and filenames
grep -ar -e . /your/dir | md5sum | cut -c-32
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all files in "/your/dir" including content and filenames ### Response: grep -ar -e . /your/dir | md5sum | cut -c-32
Calculate the md5 sum of all files in "/your/dir" including content and filenames and following symbolic links
grep -aR -e . /your/dir | md5sum | cut -c-32
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all files in "/your/dir" including content and filenames and following symbolic links ### Response: grep -aR -e . /your/dir | md5sum | cut -c-32
Calculate the md5 sum of all files in the current directory and formatting the output by removing parenthesis
find -maxdepth 1 -type f -exec md5sum {} \; | sed 's/[^(]*(\([^)]*\)) =/\1/'
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all files in the current directory and formatting the output by removing parenthesis ### Response: find -maxdepth 1 -type f -exec md5sum {} \; | sed 's/[^(]*(\([^)]*\)) =/\1/'
Calculate the md5 sum of all files in the current directory with the filename printed first
find -maxdepth 1 -type f -exec md5sum {} \; | awk '{s=$2; $2=$1; $1=s;}1'
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all files in the current directory with the filename printed first ### Response: find -maxdepth 1 -type f -exec md5sum {} \; | awk '{s=$2; $2=$1; $1=s;}1'
Calculate the md5 sum of all files in the current directory with the filename printed first
ls -p | grep -v / | xargs md5sum | awk '{print $2,$1}'
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all files in the current directory with the filename printed first ### Response: ls -p | grep -v / | xargs md5sum | awk '{print $2,$1}'
Calculate the md5 sum of all the file metadata in the current directory tree excluding ".svn"
find . -name '.svn' -prune -o -type f -printf '%m%c%p' | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of all the file metadata in the current directory tree excluding ".svn" ### Response: find . -name '.svn' -prune -o -type f -printf '%m%c%p' | md5sum
Calculate the md5 sum of every ".py" file in directory tree "/path"
find /path -type f -name "*.py" -exec md5sum "{}" +;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of every ".py" file in directory tree "/path" ### Response: find /path -type f -name "*.py" -exec md5sum "{}" +;
Calculate the md5 sum of hex byte 61
echo -n -e '\x61' | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of hex byte 61 ### Response: echo -n -e '\x61' | md5sum
Calculate the md5 sum of the contents of "$FILES"
cat $FILES | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the contents of "$FILES" ### Response: cat $FILES | md5sum
Calculate the md5 sum of the contents of all files sorted in directory tree "/path"
find /path -type f | sort -u | xargs cat | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the contents of all files sorted in directory tree "/path" ### Response: find /path -type f | sort -u | xargs cat | md5sum
Calculate the md5 sum of the contents of the sorted list of files "$FILES"
cat $(echo $FILES | sort) | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the contents of the sorted list of files "$FILES" ### Response: cat $(echo $FILES | sort) | md5sum
Calculate the md5 sum of the file "filename" and print only the hash
md5sum filename |cut -f 1 -d " "
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the file "filename" and print only the hash ### Response: md5sum filename |cut -f 1 -d " "
Calculate the md5 sum of the list of files in the current directory
find . -maxdepth 1 -type f | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the list of files in the current directory ### Response: find . -maxdepth 1 -type f | md5sum
Calculate the md5 sum of the md5 sum of all the files sorted under "$path"
find "$path" -type f -print0 | sort -z | xargs -r0 md5sum | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the md5 sum of all the files sorted under "$path" ### Response: find "$path" -type f -print0 | sort -z | xargs -r0 md5sum | md5sum
Calculate the md5 sum of the output of "du -csxb /path" and compare it against the md5 sum saved in "file"
du -csxb /path | md5sum -c file
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the output of "du -csxb /path" and compare it against the md5 sum saved in "file" ### Response: du -csxb /path | md5sum -c file
Calculate the md5 sum of the sorted list of md5 sums of all ".py" files under "/path/to/dir/"
find /path/to/dir/ -type f -name *.py -exec md5sum {} + | awk '{print $1}' | sort | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the sorted list of md5 sums of all ".py" files under "/path/to/dir/" ### Response: find /path/to/dir/ -type f -name *.py -exec md5sum {} + | awk '{print $1}' | sort | md5sum
Calculate the md5 sum of the tar archive of "dir"
tar c dir | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5 sum of the tar archive of "dir" ### Response: tar c dir | md5sum
Calculate the md5sum of all the files with name "MyCProgram.c", ignoring case
find -iname "MyCProgram.c" -exec md5sum {} \;
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5sum of all the files with name "MyCProgram.c", ignoring case ### Response: find -iname "MyCProgram.c" -exec md5sum {} \;
Calculate the md5sum of each ".py" file under "/path/to/dir/", sort the output, and calculate the md5sum of that
find /path/to/dir/ -type f -name "*.py" -exec md5sum {} + | awk '{print $1}' | sort | md5sum
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5sum of each ".py" file under "/path/to/dir/", sort the output, and calculate the md5sum of that ### Response: find /path/to/dir/ -type f -name "*.py" -exec md5sum {} + | awk '{print $1}' | sort | md5sum
Calculate the md5sum of the executable file of command "cc"
md5sum $(which cc)
Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: Calculate the md5sum of the executable file of command "cc" ### Response: md5sum $(which cc)